Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05bf74c

Browse files
committed
Update docs
1 parentd580e5d commit05bf74c

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

‎Doc/c-api/init.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ Python-level trace functions in previous versions.
17771777
..c:function::voidPyEval_SetProfileAllThreads(Py_tracefunc func, PyObject *obj)
17781778
17791779
Like:c:func:`PyEval_SetProfile` but sets the profile function in all running threads
1780-
instead of the setting it only on the current thread.
1780+
belonging to the current interpreterinstead of the setting it only on the current thread.
17811781
17821782
The caller must hold the:term:`GIL`.
17831783
@@ -1803,7 +1803,7 @@ Python-level trace functions in previous versions.
18031803
..c:function::voidPyEval_SetTraceAllThreads(Py_tracefunc func, PyObject *obj)
18041804
18051805
Like:c:func:`PyEval_SetTrace` but sets the tracing function in all running threads
1806-
instead of the setting it only on the current thread.
1806+
belonging to the current interpreterinstead of the setting it only on the current thread.
18071807
18081808
The caller must hold the:term:`GIL`.
18091809

‎Python/clinic/sysmodule.c.h

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎Python/sysmodule.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,15 +1027,15 @@ sys._settraceallthreads
10271027
arg: object
10281028
/
10291029
1030-
Set the global debug tracing function in all running threads.
1030+
Set the global debug tracing function in all running threads belonging to the current interpreter.
10311031
10321032
It will be called on each function call. See the debugger chapter
10331033
in the library manual.
10341034
[clinic start generated code]*/
10351035

10361036
staticPyObject*
10371037
sys__settraceallthreads(PyObject*module,PyObject*arg)
1038-
/*[clinic end generated code: output=161cca30207bf3ca input=57c1ae02b1b5ee94]*/
1038+
/*[clinic end generated code: output=161cca30207bf3ca input=5906aa1485a50289]*/
10391039
{
10401040
PyObject*argument=NULL;
10411041
Py_tracefuncfunc=NULL;
@@ -1102,15 +1102,15 @@ sys._setprofileallthreads
11021102
arg: object
11031103
/
11041104
1105-
Set the profiling function in all running threads.
1105+
Set the profiling function in all running threads belonging to the current interpreter.
11061106
11071107
It will be called on each function call and return. See the profiler chapter
11081108
in the library manual.
11091109
[clinic start generated code]*/
11101110

11111111
staticPyObject*
11121112
sys__setprofileallthreads(PyObject*module,PyObject*arg)
1113-
/*[clinic end generated code: output=2d61319e27b309fe input=7daefd8797f0476f]*/
1113+
/*[clinic end generated code: output=2d61319e27b309fe input=d1a356d3f4f9060a]*/
11141114
{
11151115
PyObject*argument=NULL;
11161116
Py_tracefuncfunc=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp