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

operator: div() instead of truediv() in documention since 3.1.2 #58330

Closed
felixantoinefortin mannequin opened this issue Feb 25, 2012 · 2 comments
Closed

operator: div() instead of truediv() in documention since 3.1.2 #58330

felixantoinefortin mannequin opened this issue Feb 25, 2012 · 2 comments
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@felixantoinefortin
Copy link
Mannequin

felixantoinefortin mannequin commented Feb 25, 2012

BPO 14122
Nosy @ezio-melotti
Files
  • operator_div.patch: Patch for operator.rst of changeset 57209 regarding Division
  • 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 2012-03-03.13:31:32.046>
    created_at = <Date 2012-02-25.17:29:06.371>
    labels = ['type-feature', 'docs']
    title = 'operator: div() instead of truediv() in documention since 3.1.2'
    updated_at = <Date 2012-03-03.13:31:32.045>
    user = 'https://bugs.python.org/felixantoinefortin'

    bugs.python.org fields:

    activity = <Date 2012-03-03.13:31:32.045>
    actor = 'ezio.melotti'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2012-03-03.13:31:32.046>
    closer = 'ezio.melotti'
    components = ['Documentation']
    creation = <Date 2012-02-25.17:29:06.371>
    creator = 'felixantoinefortin'
    dependencies = []
    files = ['24639']
    hgrepos = []
    issue_num = 14122
    keywords = ['patch']
    message_count = 2.0
    messages = ['154277', '154836']
    nosy_count = 3.0
    nosy_names = ['ezio.melotti', 'docs@python', 'felixantoinefortin']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue14122'
    versions = ['Python 3.2', 'Python 3.3']

    @felixantoinefortin
    Copy link
    Mannequin Author

    felixantoinefortin mannequin commented Feb 25, 2012

    A small regression was introduced by the changeset 57209 in the documentation of the operator module.

    In the abstract operations table in section 9.3.1 the first of two lines
    on Division, the associated function should be : truediv() instead of div(), since operator.div() no longer exists in Python 3. In changeset 57209, this corresponds to the line 408 of the file Doc/library/operator.rst.

    I have included the patch for the changeset 57209.

    @felixantoinefortin felixantoinefortin mannequin added the docs Documentation in the Doc dir label Feb 25, 2012
    @ezio-melotti ezio-melotti added the type-feature A feature request or enhancement label Feb 25, 2012
    @ezio-melotti
    Copy link
    Member

    This was fixed in 8de95f3b2404 (3.2) and d4b17c478e49 (default).
    Thanks for the report and the patch!

    @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
    docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant