summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-05-24 05:24:56 (GMT)
committerGitHub <noreply@github.com>2020-05-24 05:24:56 (GMT)
commita3c3e8920af292f6c16425efc80aa764e1305f59 (patch)
tree90a5e7dc1a44f9788c87a39025616985b6fce05a /Objects
parent11fb605cb8b632387c5599bbe3ded1d966d50138 (diff)
downloadcpython-a3c3e8920af292f6c16425efc80aa764e1305f59.zip
cpython-a3c3e8920af292f6c16425efc80aa764e1305f59.tar.gz
cpython-a3c3e8920af292f6c16425efc80aa764e1305f59.tar.bz2
Remove spurious NULL in descrobject.c (GH-20344)
Co-authored-by: hai shi <shihai1991@126.com> (cherry picked from commit 3f5f61409ebf95fa606bcbb15dfaaadad6084dc6) Co-authored-by: Hai Shi <shihai1992@gmail.com>
Diffstat (limited to 'Objects')
-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;