summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-03-18 01:38:11 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-03-18 01:38:11 (GMT)
commit65d63424b4b1d705830f582f2a43634377f59433 (patch)
treefb99bdf015353ddc5532603ae8545ecf83b823ec /Doc/api
parent9b976e663667fdec983f44e6d9aaaddc6180144d (diff)
downloadcpython-65d63424b4b1d705830f582f2a43634377f59433.zip
cpython-65d63424b4b1d705830f582f2a43634377f59433.tar.gz
cpython-65d63424b4b1d705830f582f2a43634377f59433.tar.bz2
Minor grammatical fixes.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/init.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/api/init.tex b/Doc/api/init.tex
index 5cd800b..2f21168 100644
--- a/Doc/api/init.tex
+++ b/Doc/api/init.tex
@@ -82,7 +82,7 @@
\ttindex{stdout}\ttindex{stderr}\ttindex{stdin}}
The return value points to the first thread state created in the new
- sub-interpreter. This thread state is made the current thread
+ sub-interpreter. This thread state is made in the current thread
state. Note that no actual thread is created; see the discussion of
thread states below. If creation of the new interpreter is
unsuccessful, \NULL{} is returned; no exception is set since the
@@ -457,7 +457,7 @@ structure.
When creating a thread data structure, you need to provide an
interpreter state data structure. The interpreter state data
-structure hold global data that is shared by all threads in an
+structure holds global data that is shared by all threads in an
interpreter, for example the module administration
(\code{sys.modules}). Depending on your needs, you can either create
a new interpreter state data structure, or share the interpreter state
@@ -555,7 +555,7 @@ for calling into Python from a C thread is
\end{cfuncdesc}
\begin{cfuncdesc}{void}{PyEval_AcquireThread}{PyThreadState *tstate}
- Acquire the global interpreter lock and then set the current thread
+ Acquire the global interpreter lock and set the current thread
state to \var{tstate}, which should not be \NULL. The lock must
have been created earlier. If this thread already has the lock,
deadlock ensues. This function is not available when thread support