Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65d6342

Browse files
committed
Minor grammatical fixes.
1 parent 9b976e6 commit 65d6342

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/api/init.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ \chapter{Initialization, Finalization, and Threads
8282
\ttindex{stdout}\ttindex{stderr}\ttindex{stdin}}
8383

8484
The return value points to the first thread state created in the new
85-
sub-interpreter. This thread state is made the current thread
85+
sub-interpreter. This thread state is made in the current thread
8686
state. Note that no actual thread is created; see the discussion of
8787
thread states below. If creation of the new interpreter is
8888
unsuccessful, \NULL{} is returned; no exception is set since the
@@ -457,7 +457,7 @@ \section{Thread State and the Global Interpreter Lock
457457

458458
When creating a thread data structure, you need to provide an
459459
interpreter state data structure. The interpreter state data
460-
structure hold global data that is shared by all threads in an
460+
structure holds global data that is shared by all threads in an
461461
interpreter, for example the module administration
462462
(\code{sys.modules}). Depending on your needs, you can either create
463463
a new interpreter state data structure, or share the interpreter state
@@ -555,7 +555,7 @@ \section{Thread State and the Global Interpreter Lock
555555
\end{cfuncdesc}
556556

557557
\begin{cfuncdesc}{void}{PyEval_AcquireThread}{PyThreadState *tstate}
558-
Acquire the global interpreter lock and then set the current thread
558+
Acquire the global interpreter lock and set the current thread
559559
state to \var{tstate}, which should not be \NULL. The lock must
560560
have been created earlier. If this thread already has the lock,
561561
deadlock ensues. This function is not available when thread support

0 commit comments

Comments
 (0)