Skip to content

Commit 6300ea7

Browse files
committed
De-personalize docs on using the C API
This rephrases parts of the documentation on using the C API to remove first-person pronouns.
1 parent aa5b164 commit 6300ea7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/extending/extending.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ calling the Python callback functions from a C callback. Other uses are also
231231
imaginable.
232232

233233
Fortunately, the Python interpreter is easily called recursively, and there is a
234-
standard interface to call a Python function. (I won't dwell on how to call the
235-
Python parser with a particular string as input --- if you're interested, have a
236-
look at the implementation of the :option:`-c` command line option in
237-
:file:`Modules/main.c` from the Python source code.)
234+
standard interface to call a Python function. (If you're interested in how to call the
235+
Python parser with a particular string as input, have a look at the implementation of
236+
the :option:`-c` command line option in :file:`Modules/main.c` from the Python source
237+
code.)
238238

239239
Calling a Python function is easy. First, the Python program must somehow pass
240240
you the Python function object. You should provide a function (or some other
@@ -641,7 +641,7 @@ and the object is freed.
641641

642642
An alternative strategy is called :dfn:`automatic garbage collection`.
643643
(Sometimes, reference counting is also referred to as a garbage collection
644-
strategy, hence my use of "automatic" to distinguish the two.) The big
644+
strategy, hence the use of "automatic" to distinguish the two.) The big
645645
advantage of automatic garbage collection is that the user doesn't need to call
646646
:c:func:`free` explicitly. (Another claimed advantage is an improvement in speed
647647
or memory usage --- this is no hard fact however.) The disadvantage is that for

0 commit comments

Comments
 (0)