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

Incorrect link to statistics in tracemalloc documentation #67028

Closed
jonrsharpe mannequin opened this issue Nov 10, 2014 · 3 comments
Closed

Incorrect link to statistics in tracemalloc documentation #67028

jonrsharpe mannequin opened this issue Nov 10, 2014 · 3 comments
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@jonrsharpe
Copy link
Mannequin

jonrsharpe mannequin commented Nov 10, 2014

BPO 22839
Nosy @berkerpeksag

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 2014-11-10.21:16:52.863>
created_at = <Date 2014-11-10.17:30:42.657>
labels = ['type-bug', 'docs']
title = 'Incorrect link to statistics in tracemalloc documentation'
updated_at = <Date 2014-11-10.21:16:52.853>
user = 'https://bugs.python.org/jonrsharpe'

bugs.python.org fields:

activity = <Date 2014-11-10.21:16:52.853>
actor = 'berker.peksag'
assignee = 'docs@python'
closed = True
closed_date = <Date 2014-11-10.21:16:52.863>
closer = 'berker.peksag'
components = ['Documentation']
creation = <Date 2014-11-10.17:30:42.657>
creator = 'jonrsharpe'
dependencies = []
files = []
hgrepos = []
issue_num = 22839
keywords = []
message_count = 3.0
messages = ['230968', '230974', '230975']
nosy_count = 4.0
nosy_names = ['docs@python', 'python-dev', 'berker.peksag', 'jonrsharpe']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue22839'
versions = ['Python 3.4', 'Python 3.5']

@jonrsharpe
Copy link
Mannequin Author

jonrsharpe mannequin commented Nov 10, 2014

The link to "statistics" in the documentation for tracemalloc.Snapshot.compare_to (https://docs.python.org/3/library/tracemalloc.html#tracemalloc.Snapshot.compare_to) should be to the statistics method (https://docs.python.org/3/library/tracemalloc.html#tracemalloc.Snapshot.statistics), per the description, not to the statistics module (https://docs.python.org/3/library/statistics.html#module-statistics), where it currently points.

@jonrsharpe jonrsharpe mannequin assigned docspython Nov 10, 2014
@jonrsharpe jonrsharpe mannequin added the docs Documentation in the Doc dir label Nov 10, 2014
@python-dev
Copy link
Mannequin

python-dev mannequin commented Nov 10, 2014

New changeset 387bbada31e8 by Berker Peksag in branch '3.4':
Issue bpo-22839: Fix Snapshot.statistics() link.
https://hg.python.org/cpython/rev/387bbada31e8

New changeset 524a004e93dd by Berker Peksag in branch 'default':
Issue bpo-22839: Fix Snapshot.statistics() link.
https://hg.python.org/cpython/rev/524a004e93dd

@berkerpeksag
Copy link
Member

Fixed. Thanks for the report, Jonathan.

@berkerpeksag berkerpeksag added the type-bug An unexpected behavior, bug, or error label Nov 10, 2014
@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-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant