Skip to content

bpo-39130: Dict reversed was added in v3.8 so should say in the doc as well#17694

Merged
miss-islington merged 1 commit intopython:masterfrom
khalidmammadov:python_doc_change
Jan 5, 2020
Merged

bpo-39130: Dict reversed was added in v3.8 so should say in the doc as well#17694
miss-islington merged 1 commit intopython:masterfrom
khalidmammadov:python_doc_change

Conversation

@khalidmammadov
Copy link
Copy Markdown
Contributor

@khalidmammadov khalidmammadov commented Dec 24, 2019

To be consistent with document layout, it should say when the feature was added.
Although it's mentioned few other places in the doc but it's not explicitly say that at that place.

https://bugs.python.org/issue39130

Automerge-Triggered-By: @csabella

@the-knights-who-say-ni
Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@khalidmammadov

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

Copy link
Copy Markdown
Member

@tirkarthi tirkarthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This is more noticeable though there is an example with reversed(dict) at https://github.com/python/cpython/pull/17694/files#diff-7498e907ba97646df434a0eb583c6909L4409 . Thanks.

Copy link
Copy Markdown
Contributor

@aeros aeros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @khalidmammadov and welcome!

LGTM. This feature was clearly documented in the What's New for 3.8, so it should definitely have a versionadded tag in a highly visible location: https://docs.python.org/3/whatsnew/3.8.html#other-language-changes.

@aeros
Copy link
Copy Markdown
Contributor

aeros commented Dec 25, 2019

@tirkarthi

This is more noticeable though there is an example with reversed(dict) at https://github.com/python/cpython/pull/17694/files#diff-7498e907ba97646df434a0eb583c6909L4409

Agreed. The versionadded in this PR is definitely much more visible than the present one, which is easy to miss since it's not near the main definition.

Copy link
Copy Markdown
Contributor

@csabella csabella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution, @khalidmammadov!

@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @khalidmammadov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link
Copy Markdown

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

miss-islington added a commit that referenced this pull request Jan 5, 2020
…s well (GH-17694)

To be consistent with document layout, it should say when the feature was added.
Although it's mentioned few other places in the doc but it's not explicitly say that at that place.

https://bugs.python.org/issue39130
(cherry picked from commit 94d9cfc)

Co-authored-by: Khalid Mammadov <khalidmammadov9@gmail.com>
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
…s well (pythonGH-17694)

To be consistent with document layout, it should say when the feature was added.
Although it's mentioned few other places in the doc but it's not explicitly say that at that place.


https://bugs.python.org/issue39130
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 news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants