Skip to content

Changes to the documentation of normpath#14004

Merged
matrixise merged 1 commit into
python:masterfrom
kianasun:fix-normpath-doc
Sep 13, 2019
Merged

Changes to the documentation of normpath#14004
matrixise merged 1 commit into
python:masterfrom
kianasun:fix-normpath-doc

Conversation

@kianasun
Copy link
Copy Markdown
Contributor

No description provided.

@asvetlov
Copy link
Copy Markdown
Contributor

We should add Raise a TypeError if the type of path is not str or bytes... to every module's function for consistency.
Not sure if this improves readability.

@kianasun
Copy link
Copy Markdown
Contributor Author

Hi @asvetlov , thanks for your reply. Some other functions, such as normcase have this sentence in the document. I think we should add it to improve consistency and readability.

@willingc
Copy link
Copy Markdown
Contributor

Hi @kianasun. I agree with @asvetlov. If you have the time, please update the PR as recommended by @asvetlov. Thanks :D

@kianasun
Copy link
Copy Markdown
Contributor Author

@willingc I removed the sentence Raise a TypeError if the type of path... in normcase to be consistent.

@kianasun
Copy link
Copy Markdown
Contributor Author

Hi @willingc, is there anything else that I need to change? Thanks :)

@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @kianasun for the PR, and @matrixise for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-bot
Copy link
Copy Markdown

GH-16096 is a backport of this pull request to the 3.8 branch.

@matrixise
Copy link
Copy Markdown
Member

Thank you for your pull request, I have started the merge process. Have a nice day.

miss-islington added a commit that referenced this pull request Sep 13, 2019
…ions (GH-14004)

(cherry picked from commit 53f78ec)

Co-authored-by: Kexuan Sun <me@kianasun.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants