summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-10 10:50:58 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-10 10:50:58 (GMT)
commit9c51e412015960842105e0c5de33f2b9ee432353 (patch)
tree2b252f4808c629aebf008cd55667cb53460948cf /Doc
parentf860162093a2dc4d633ed0bf6c09a4eb88d26eed (diff)
downloadcpython-9c51e412015960842105e0c5de33f2b9ee432353.zip
cpython-9c51e412015960842105e0c5de33f2b9ee432353.tar.gz
cpython-9c51e412015960842105e0c5de33f2b9ee432353.tar.bz2
sys.setcheckinterval(x) instead of sys.check_interval = x
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsys.tex20
-rw-r--r--Doc/libsys.tex20
2 files changed, 20 insertions, 20 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index 2ea4c379..9467415 100644
--- a/Doc/lib/libsys.tex
+++ b/Doc/lib/libsys.tex
@@ -20,16 +20,6 @@ It is always available.
modules.)
\end{datadesc}
-\begin{datadesc}{check_interval}
-When this variable is set to an integer value, it determines how often
-the interpreter checks for periodic things such as thread switches and
-signal handlers. The default is 10, meaning the check is performed
-every 10 Python virtual instructions. Setting this to a large value
-may increase performance for programs using threads. Setting it to a
-value <= 0 checks every virtual instruction, maximizing responsiveness
-as well as overhead.
-\end{datadesc}
-
\begin{datadesc}{exc_type}
\dataline{exc_value}
\dataline{exc_traceback}
@@ -92,6 +82,16 @@ as well as overhead.
\code{'>>> '} and \code{'... '}.
\end{datadesc}
+\begin{funcdesc}{setcheckinterval}{interval}
+Set the interpreter's ``check interval''. This integer value
+determines how often the interpreter checks for periodic things such
+as thread switches and signal handlers. The default is 10, meaning
+the check is performed every 10 Python virtual instructions. Setting
+it to a larger value may increase performance for programs using
+threads. Setting it to a value <= 0 checks every virtual instruction,
+maximizing responsiveness as well as overhead.
+\end{datadesc}
+
\begin{funcdesc}{settrace}{tracefunc}
Set the system's trace function, which allows you to implement a
Python source code debugger in Python. The standard modules
diff --git a/Doc/libsys.tex b/Doc/libsys.tex
index 2ea4c379..9467415 100644
--- a/Doc/libsys.tex
+++ b/Doc/libsys.tex
@@ -20,16 +20,6 @@ It is always available.
modules.)
\end{datadesc}
-\begin{datadesc}{check_interval}
-When this variable is set to an integer value, it determines how often
-the interpreter checks for periodic things such as thread switches and
-signal handlers. The default is 10, meaning the check is performed
-every 10 Python virtual instructions. Setting this to a large value
-may increase performance for programs using threads. Setting it to a
-value <= 0 checks every virtual instruction, maximizing responsiveness
-as well as overhead.
-\end{datadesc}
-
\begin{datadesc}{exc_type}
\dataline{exc_value}
\dataline{exc_traceback}
@@ -92,6 +82,16 @@ as well as overhead.
\code{'>>> '} and \code{'... '}.
\end{datadesc}
+\begin{funcdesc}{setcheckinterval}{interval}
+Set the interpreter's ``check interval''. This integer value
+determines how often the interpreter checks for periodic things such
+as thread switches and signal handlers. The default is 10, meaning
+the check is performed every 10 Python virtual instructions. Setting
+it to a larger value may increase performance for programs using
+threads. Setting it to a value <= 0 checks every virtual instruction,
+maximizing responsiveness as well as overhead.
+\end{datadesc}
+
\begin{funcdesc}{settrace}{tracefunc}
Set the system's trace function, which allows you to implement a
Python source code debugger in Python. The standard modules