summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 74f3b3c..582bb0e 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -2571,8 +2571,6 @@ class BoundArguments:
empty dict.
"""
arguments = self.arguments
- if not arguments:
- return
new_arguments = []
for name, param in self._signature.parameters.items():
try: