[Python-checkins] Remove unnecessary variable definition (GH-17368)

Pablo Galindo webhook-mailer at python.org
Sun Nov 24 11:46:22 EST 2019


https://github.com/python/cpython/commit/e407646b741db6851789963e525a1f5daad0a336
commit: e407646b741db6851789963e525a1f5daad0a336
branch: master
author: Batuhan Taşkaya <47358913+isidentical at users.noreply.github.com>
committer: Pablo Galindo <Pablogsal at gmail.com>
date: 2019-11-24T16:46:18Z
summary:

Remove unnecessary variable definition (GH-17368)

files:
M Lib/inspect.py

diff --git a/Lib/inspect.py b/Lib/inspect.py
index 3ff395ca33377..608ca9551160e 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -1136,7 +1136,6 @@ def getfullargspec(func):
     varkw = None
     posonlyargs = []
     kwonlyargs = []
-    defaults = ()
     annotations = {}
     defaults = ()
     kwdefaults = {}



More information about the Python-checkins mailing list