8000 Add version{changed,added} markers and make minor style changes (GH-4… · python/cpython@12d6056 · GitHub
[go: up one dir, main page]

Skip to content

Commit 12d6056

Browse files
authored
Add version{changed,added} markers and make minor style changes (GH-4273)
1 parent d4d79bc commit 12d6056

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

Doc/howto/instrumentation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,16 @@ Available static markers
317317
Fires before :mod:`importlib` attempts to find and load the module.
318318
``arg0`` is the module name.
319319

320+
.. versionadded:: 3.7
321+
320322
.. c:function:: import__find__load__done(str modulename, int found)
321323
322324
Fires after :mod:`importlib`'s find_and_load function is called.
323325
``arg0`` is the module name, ``arg1`` indicates if module was
324326
successfully loaded.
325327

328+
.. versionadded:: 3.7
329+
326330

327331
SystemTap Tapsets
328332
-----------------

Doc/library/pdb.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ slightly different way:
123123
Enter the debugger at the calling stack frame. This is useful to hard-code
124124
a breakpoint at a given point in a program, even if the code is not
125125
otherwise being debugged (e.g. when an assertion fails). If given,
126-
``header`` is printed to the console just before debugging begins.
126+
*header* is printed to the console just before debugging begins.
127127

128-
.. versionadded:: 3.7
129-
The keyword-only argument ``header``.
128+
.. versionchanged:: 3.7
129+
The keyword-only argument *header*.
130130

131131

132132
.. function:: post_mortem(traceback=None)

Doc/library/zipapp.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ The following options are understood:
8686

8787
:option:`--compress` has no effect when copying an archive.
8888

89+
.. versionadded:: 3.7
90+
8991
.. cmdoption:: --info
9092

9193
Display the interpreter embedded in the archive, for diagnostic purposes. In

Doc/whatsnew/3.7.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ to be executed on a process fork. (Contributed by Antoine Pitrou in
318318
pdb
319319
---
320320

321-
:func:`~pdb.set_trace` now takes an optional ``header`` keyword-only
321+
:func:`~pdb.set_trace` now takes an optional *header* keyword-only
322322
argument. If given, this is printed to the console just before debugging
323-
begins.
323+
begins. (Contributed by Barry Warsaw in :issue:`31389`.)
324324

325325
re
326326
--

0 commit comments

Comments
 (0)
0