Merge pull request #3452 from moreal/bugfix/correct-whats-left

Remove staled comments
This commit is contained in:
Jeong YunWon
2021-11-21 04:58:28 +09:00
committed by GitHub

View File

@@ -72,8 +72,6 @@ def attr_is_not_inherited(type_, attr):
def extra_info(obj):
# RustPython doesn't support __text_signature__ for getting signatures of builtins
# https://github.com/RustPython/RustPython/issues/2410
if callable(obj) and not inspect._signature_is_builtin(obj):
try:
sig = str(inspect.signature(obj))