Don't show locals of proxy stubs

This commit is contained in:
Vgr E. Barry 2017-01-28 00:40:28 -05:00
parent 5842b41097
commit 0ef70245ff

View File

@ -32,6 +32,7 @@ SIGS = {}
def stub(f):
def inner(*args, **kwargs):
_ignore_locals_ = True
if f.__name__ not in IMPLS:
raise NotImplementedError(("This proxy stub has not yet been "
"implemented in another module"))