summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_object.h
diff options
context:
space:
mode:
authorMohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>2021-09-21 23:09:00 (GMT)
committerGitHub <noreply@github.com>2021-09-21 23:09:00 (GMT)
commit8f943ca25732d548cf9f0b0393ba8d582fb93e29 (patch)
tree95cffeb379a4ded4c1c753bdaf29ea79916e04d2 /Include/internal/pycore_object.h
parenta0073471002bed0169fb806703e26880bbcceb73 (diff)
downloadcpython-8f943ca25732d548cf9f0b0393ba8d582fb93e29.zip
cpython-8f943ca25732d548cf9f0b0393ba8d582fb93e29.tar.gz
cpython-8f943ca25732d548cf9f0b0393ba8d582fb93e29.tar.bz2
[codemod] Fix non-matching bracket pairs (GH-28473)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Include/internal/pycore_object.h')
-rw-r--r--Include/internal/pycore_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_object.h b/Include/internal/pycore_object.h
index 744b41a..82dddf1 100644
--- a/Include/internal/pycore_object.h
+++ b/Include/internal/pycore_object.h
@@ -168,7 +168,7 @@ _PyObject_IS_GC(PyObject *obj)
// Fast inlined version of PyType_IS_GC()
#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
-// Usage: assert(_Py_CheckSlotResult(obj, "__getitem__", result != NULL)));
+// Usage: assert(_Py_CheckSlotResult(obj, "__getitem__", result != NULL));
extern int _Py_CheckSlotResult(
PyObject *obj,
const char *slot_name,