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 in Section 8.1.5 time Objects is broken #73264

Closed
rdhushyanth mannequin opened this issue Dec 26, 2016 · 5 comments
Closed

Example in Section 8.1.5 time Objects is broken #73264

rdhushyanth mannequin opened this issue Dec 26, 2016 · 5 comments
Assignees
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir

Comments

@rdhushyanth
Copy link
Mannequin

rdhushyanth mannequin commented Dec 26, 2016

BPO 29078
Nosy @zhangyangyu, @rdhushyanth
Files
  • datetime.patch: Patch to fix the example
  • Python Contributor Agreement Form - signed.pdf: CLA pdf
  • 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/zhangyangyu'
    closed_at = <Date 2016-12-27.04:41:14.932>
    created_at = <Date 2016-12-26.20:15:52.190>
    labels = ['3.7', 'docs']
    title = 'Example in Section 8.1.5 time Objects is broken'
    updated_at = <Date 2016-12-27.04:41:14.931>
    user = 'https://github.com/rdhushyanth'

    bugs.python.org fields:

    activity = <Date 2016-12-27.04:41:14.931>
    actor = 'xiang.zhang'
    assignee = 'xiang.zhang'
    closed = True
    closed_date = <Date 2016-12-27.04:41:14.932>
    closer = 'xiang.zhang'
    components = ['Documentation']
    creation = <Date 2016-12-26.20:15:52.190>
    creator = 'rdhushyanth'
    dependencies = []
    files = ['46045', '46049']
    hgrepos = []
    issue_num = 29078
    keywords = ['patch']
    message_count = 5.0
    messages = ['284042', '284056', '284057', '284059', '284060']
    nosy_count = 4.0
    nosy_names = ['docs@python', 'python-dev', 'xiang.zhang', 'rdhushyanth']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue29078'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    @rdhushyanth
    Copy link
    Mannequin Author

    rdhushyanth mannequin commented Dec 26, 2016

    The example doesn't import timedelta. This causes an error when attempting to run the example in the interactive window.

    @rdhushyanth rdhushyanth mannequin assigned docspython Dec 26, 2016
    @rdhushyanth rdhushyanth mannequin added 3.7 (EOL) end of life docs Documentation in the Doc dir labels Dec 26, 2016
    @zhangyangyu
    Copy link
    Member

    LGTM.

    Thanks for your work Dhushyanth! It's appreciated if you could sign the CLA: https://www.python.org/psf/contrib/contrib-form/.

    @rdhushyanth
    Copy link
    Mannequin Author

    rdhushyanth mannequin commented Dec 27, 2016

    Hi Xiang,
    Signed the CLA, but looks like it may take two days to reflect.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Dec 27, 2016

    New changeset 878a91174e74 by Xiang Zhang in branch '2.7':
    Issue bpo-29078: Add the missing import in datetime.time doc example.
    https://hg.python.org/cpython/rev/878a91174e74

    New changeset 172b2ac82037 by Xiang Zhang in branch '3.5':
    Issue bpo-29078: Add the missing import in datetime.time doc example.
    https://hg.python.org/cpython/rev/172b2ac82037

    New changeset 83b089b7ab43 by Xiang Zhang in branch '3.6':
    Issue bpo-29078: Merge 3.5.
    https://hg.python.org/cpython/rev/83b089b7ab43

    New changeset f35c3b0b6eda by Xiang Zhang in branch 'default':
    Issue bpo-29078: Merge 3.6.
    https://hg.python.org/cpython/rev/f35c3b0b6eda

    @zhangyangyu
    Copy link
    Member

    Signed the CLA, but looks like it may take two days to reflect.

    Thanks. This change is trivial so I can push it first. ;-)

    @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