[Python-checkins] Remove spurious NULL in descrobject.c (GH-20344)
Hai Shi
webhook-mailer at python.org
Sun May 24 01:03:54 EDT 2020
https://github.com/python/cpython/commit/3f5f61409ebf95fa606bcbb15dfaaadad6084dc6
commit: 3f5f61409ebf95fa606bcbb15dfaaadad6084dc6
branch: master
author: Hai Shi <shihai1992 at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-05-24T06:03:50+01:00
summary:
Remove spurious NULL in descrobject.c (GH-20344)
Co-authored-by: hai shi <shihai1991 at 126.com>
files:
M Objects/descrobject.c
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index c29cf7a4c4464..fce9cdd309077 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -360,7 +360,6 @@ method_vectorcall_FASTCALL_KEYWORDS_METHOD(
if (method_check_args(func, args, nargs, NULL)) {
return NULL;
}
- NULL;
PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
if (meth == NULL) {
return NULL;
More information about the Python-checkins
mailing list