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

Example does not match diagram. #40878

Closed
nejucomo mannequin opened this issue Sep 6, 2004 · 2 comments
Closed

Example does not match diagram. #40878

nejucomo mannequin opened this issue Sep 6, 2004 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@nejucomo
Copy link
Mannequin

nejucomo mannequin commented Sep 6, 2004

BPO 1023359
Nosy @akuchling
Files
  • sect-rellinks.html: The URL contents as of this posting.
  • 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 = 'https://github.com/akuchling'
    closed_at = <Date 2004-09-10.19:35:10.000>
    created_at = <Date 2004-09-06.23:43:11.000>
    labels = ['docs']
    title = 'Example does not match diagram.'
    updated_at = <Date 2004-09-10.19:35:10.000>
    user = 'https://bugs.python.org/nejucomo'

    bugs.python.org fields:

    activity = <Date 2004-09-10.19:35:10.000>
    actor = 'akuchling'
    assignee = 'akuchling'
    closed = True
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2004-09-06.23:43:11.000>
    creator = 'nejucomo'
    dependencies = []
    files = ['1399']
    hgrepos = []
    issue_num = 1023359
    keywords = []
    message_count = 2.0
    messages = ['22377', '22378']
    nosy_count = 2.0
    nosy_names = ['akuchling', 'nejucomo']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1023359'
    versions = ['Python 2.2']

    @nejucomo
    Copy link
    Mannequin Author

    nejucomo mannequin commented Sep 6, 2004

    The PEP describing the new type system changes in v2.2
    introduces an inheritance diagram to illustrate a
    problem. After introducing the problem and solution,
    the "super" function is introduced. After that, a code
    example shows a use of super for the case in the diagram.

    The bug is that the inheritance shown in the diagram is
    not in the code, and the class definition should read
    "class D (B, C):" instead of "class D:".

    This is seen at:
    http://www.python.org/doc/2.2.3/whatsnew/sect-rellinks.html

    @nejucomo nejucomo mannequin closed this as completed Sep 6, 2004
    @nejucomo nejucomo mannequin assigned akuchling Sep 6, 2004
    @nejucomo nejucomo mannequin added the docs Documentation in the Doc dir label Sep 6, 2004
    @akuchling
    Copy link
    Member

    Logged In: YES
    user_id=11375

    Fixed in CVS HEAD; will backport to the 2.2 and 2.3
    maintenance branches. It's unlikely anyone will regenerate
    the 2.2 HTML docs, though.

    Thanks for reporting this!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 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
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant