Navigation Menu

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

No documentation for timeit.default_timer #57687

Closed
sandrotosi opened this issue Nov 25, 2011 · 3 comments
Closed

No documentation for timeit.default_timer #57687

sandrotosi opened this issue Nov 25, 2011 · 3 comments
Labels
docs Documentation in the Doc dir

Comments

@sandrotosi
Copy link
Contributor

BPO 13478
Nosy @birkenfeld, @sandrotosi
Files
  • issue13478-py27.patch
  • issue13478-py32.patch
  • 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-04-24.16:14:19.474>
    created_at = <Date 2011-11-25.08:13:32.146>
    labels = ['docs']
    title = 'No documentation for timeit.default_timer'
    updated_at = <Date 2012-04-24.16:14:19.473>
    user = 'https://github.com/sandrotosi'

    bugs.python.org fields:

    activity = <Date 2012-04-24.16:14:19.473>
    actor = 'sandro.tosi'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2012-04-24.16:14:19.474>
    closer = 'sandro.tosi'
    components = ['Documentation']
    creation = <Date 2011-11-25.08:13:32.146>
    creator = 'sandro.tosi'
    dependencies = []
    files = ['24276', '24277']
    hgrepos = []
    issue_num = 13478
    keywords = ['patch']
    message_count = 3.0
    messages = ['148307', '151634', '159166']
    nosy_count = 4.0
    nosy_names = ['georg.brandl', 'sandro.tosi', 'docs@python', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue13478'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    @sandrotosi
    Copy link
    Contributor Author

    Hello,
    timeit documentation doesn't mention default_timer, while the module exposes it publicly and there's code snippets on the web using it. It should be documented then.

    ps: adding Georg to nosy as per Experts list

    @sandrotosi sandrotosi added the docs Documentation in the Doc dir label Nov 25, 2011
    @sandrotosi
    Copy link
    Contributor Author

    I propose these 2 patches: I'm not exactly proud of

    • 'in a platform specific manner' in the first hunk
    • the second hunk

    I know that there should be a better way to express it, but since I can't get to it I'd just ask for suggestions :)

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Apr 24, 2012

    New changeset 86b927859155 by Sandro Tosi in branch '2.7':
    Issue bpo-13478: document timeit.default_timer()
    http://hg.python.org/cpython/rev/86b927859155

    New changeset 8165b59a4000 by Sandro Tosi in branch '3.2':
    Issue bpo-13478: document timeit.default_timer()
    http://hg.python.org/cpython/rev/8165b59a4000

    New changeset e43ba06da592 by Sandro Tosi in branch 'default':
    Issue bpo-13478: merge with 3.2
    http://hg.python.org/cpython/rev/e43ba06da592

    @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
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant