Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"keys and values" preferred to "keys and elements" for dict constituent #74138

Closed
cocoatomo mannequin opened this issue Mar 31, 2017 · 5 comments
Closed

"keys and values" preferred to "keys and elements" for dict constituent #74138

cocoatomo mannequin opened this issue Mar 31, 2017 · 5 comments
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir

Comments

@cocoatomo
Copy link
Mannequin

cocoatomo mannequin commented Mar 31, 2017

BPO 29952
Nosy @methane, @cocoatomo
PRs
  • bpo-29952: Use usual terminology of dict #917
  • [3.6] bpo-29952: Use usual terminology of dict #922
  • [3.5] bpo-29952: Use usual terminology of dict #923
  • [2.7] bpo-29952: Use usual terminology of dict #924
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-04-22.03:10:23.148>
    created_at = <Date 2017-03-31.03:40:13.311>
    labels = ['3.7', 'docs']
    title = '"keys and values" preferred to "keys and elements" for dict constituent'
    updated_at = <Date 2017-04-22.03:10:23.126>
    user = 'https://github.com/cocoatomo'

    bugs.python.org fields:

    activity = <Date 2017-04-22.03:10:23.126>
    actor = 'cocoatomo'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-04-22.03:10:23.148>
    closer = 'cocoatomo'
    components = ['Documentation']
    creation = <Date 2017-03-31.03:40:13.311>
    creator = 'cocoatomo'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29952
    keywords = []
    message_count = 5.0
    messages = ['290890', '290895', '290898', '290899', '290900']
    nosy_count = 3.0
    nosy_names = ['methane', 'docs@python', 'cocoatomo']
    pr_nums = ['917', '922', '923', '924']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue29952'
    versions = ['Python 3.7']

    @cocoatomo
    Copy link
    Mannequin Author

    cocoatomo mannequin commented Mar 31, 2017

    In the section "6.10.1. Value comparisons" [1]_::

    Equality comparison of the keys and elements enforces reflexivity.

    would be

    Equality comparison of the keys and values enforces reflexivity.

    because we usually call an entry of dict as "key-value pair".

    .. [1] https://docs.python.org/3.6/reference/expressions.html#value-comparisons

    @cocoatomo cocoatomo mannequin added the 3.7 (EOL) end of life label Mar 31, 2017
    @cocoatomo cocoatomo mannequin assigned docspython Mar 31, 2017
    @cocoatomo cocoatomo mannequin added the docs Documentation in the Doc dir label Mar 31, 2017
    @methane
    Copy link
    Member

    methane commented Mar 31, 2017

    New changeset cdcac03 by INADA Naoki (cocoatomo) in branch 'master':
    bpo-29952: Use usual terminology of dict (GH-917)
    cdcac03

    @methane
    Copy link
    Member

    methane commented Mar 31, 2017

    New changeset 4c75fbb by INADA Naoki in branch '3.6':
    bpo-29952: Use usual terminology of dict (GH-922)
    4c75fbb

    @methane
    Copy link
    Member

    methane commented Mar 31, 2017

    New changeset f315812 by INADA Naoki in branch '3.5':
    bpo-29952: Use usual terminology of dict (GH-923)
    f315812

    @methane
    Copy link
    Member

    methane commented Mar 31, 2017

    New changeset 5aa913d by INADA Naoki in branch '2.7':
    bpo-29952: Use usual terminology of dict (GH-924)
    5aa913d

    @terryjreedy terryjreedy changed the title "keys and values" is preferred to "keys and elements" for name of dict constituent "keys and values" preferred to "keys and elements" for dict constituent Apr 1, 2017
    @cocoatomo cocoatomo mannequin closed this as completed Apr 22, 2017
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant