]> granicus.if.org Git - python/commitdiff
Fix typo in Include/objimpl.h, the word "has" was missing (GH-5568) (GH-5570)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Feb 2018 07:35:56 +0000 (23:35 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 07:35:56 +0000 (23:35 -0800)
It now reads: ...be aware that Python has no control over...
(cherry picked from commit 517da1e58f4c489d4b31579852cde5f7113da08e)

Co-authored-by: Alexey <forestbiiird@gmail.com>
Include/objimpl.h

index 746f9c921344f715cc24521a9779568fdcb43d35..e7a3696d7a1b9fba8ab677558a7cc07f0b74e55d 100644 (file)
@@ -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