diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-12 07:35:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-12 07:35:56 (GMT) |
commit | 743b6c07e8c79ffee38ab77f1284b542d865ce6e (patch) | |
tree | 3358ddfb4b66739d43a7a606f83cf9d20078e1b7 /Include | |
parent | db1de759a9caed5f77b9b550ce0085833a1eb05b (diff) | |
download | cpython-743b6c07e8c79ffee38ab77f1284b542d865ce6e.zip cpython-743b6c07e8c79ffee38ab77f1284b542d865ce6e.tar.gz cpython-743b6c07e8c79ffee38ab77f1284b542d865ce6e.tar.bz2 |
Fix typo in Include/objimpl.h, the word "has" was missing (GH-5568) (GH-5570)
It now reads: ...be aware that Python has no control over...
(cherry picked from commit 517da1e58f4c489d4b31579852cde5f7113da08e)
Co-authored-by: Alexey <forestbiiird@gmail.com>
Diffstat (limited to 'Include')
-rw-r--r-- | Include/objimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h index 746f9c9..e7a3696 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -56,7 +56,7 @@ must use the platform malloc heap(s), or shared memory, or C++ local storage or operator new), you must first allocate the object with your custom allocator, then pass its pointer to PyObject_{Init, InitVar} for filling in its Python- specific fields: reference count, type pointer, possibly others. You should -be aware that Python no control over these objects because they don't +be aware that Python has no control over these objects because they don't cooperate with the Python memory manager. Such objects may not be eligible for automatic garbage collection and you have to make sure that they are released accordingly whenever their destructor gets called (cf. the specific |