Skip to content

Conversation

@ssanderson
Copy link

@ssanderson ssanderson commented Jun 1, 2018

  • Add a versionadded directive to the note about Profile being a context manager.
  • Remove extra paragraph from NEWS entry.
  • Add an entry to whatsnew for 3.8.

cc @serhiy-storchaka, xref: https://bugs.python.org/issue29235#msg318460

https://bugs.python.org/issue29235


pr.print_stats()

.. versionadded:: 3.8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this applies to the class definition this isn't accurate since the class isn't new 😉 . I would change this to:

.. versionchanged:: 3.8
   Added context manager support.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@methane methane changed the title bpo-29235: Update docs added in GH-6808. bpo-29235: profile: Update document about contextmanager support Jun 7, 2018
@methane methane changed the title bpo-29235: profile: Update document about contextmanager support bpo-29235: Update document for Profiler's context manager Jun 7, 2018
@methane methane merged commit cebe80b into python:master Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants