summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-05-24 05:03:50 (GMT)
committerGitHub <noreply@github.com>2020-05-24 05:03:50 (GMT)
commit3f5f61409ebf95fa606bcbb15dfaaadad6084dc6 (patch)
treed90aa1a166be92ce6d3168d08d1d8ade818bfa1e
parentb23d7adfdfa66dd8e6f98e968b1ba885692b67d6 (diff)
downloadcpython-3f5f61409ebf95fa606bcbb15dfaaadad6084dc6.zip
cpython-3f5f61409ebf95fa606bcbb15dfaaadad6084dc6.tar.gz
cpython-3f5f61409ebf95fa606bcbb15dfaaadad6084dc6.tar.bz2
Remove spurious NULL in descrobject.c (GH-20344)
Co-authored-by: hai shi <shihai1991@126.com>
-rw-r--r--Objects/descrobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index c29cf7a..fce9cdd 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;