]> granicus.if.org Git - python/commitdiff
Fix typo in Include/objimpl.h, the word "has" was missing (GH-5568) (GH-5569)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Feb 2018 07:33:11 +0000 (23:33 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 07:33:11 +0000 (23:33 -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 ed9e7a9680668dd9419c50d3d52d68798d2654e2..057bb50cbda9e22da6600807a7be091cc19f0fea 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