diff options
author | Georg Brandl <georg@python.org> | 2006-09-30 11:06:47 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-09-30 11:06:47 +0000 |
commit | 154324a8c3bcdde62acff8272388948e3d75cb51 (patch) | |
tree | cd225ad869f45e491842154f14d45f011c450020 /Lib/pyclbr.py | |
parent | 05b3c450a811b93bd915ea0931b04e2679557390 (diff) | |
download | cpython-git-154324a8c3bcdde62acff8272388948e3d75cb51.tar.gz |
Bug #1560617: in pyclbr, return full module name not only for classes,
but also for functions.
Diffstat (limited to 'Lib/pyclbr.py')
-rw-r--r-- | Lib/pyclbr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py index 073122417d..079b38c411 100644 --- a/Lib/pyclbr.py +++ b/Lib/pyclbr.py @@ -172,7 +172,7 @@ def _readmodule(module, path, inpackage=None): # else it's a nested def else: # it's a function - dict[meth_name] = Function(module, meth_name, file, lineno) + dict[meth_name] = Function(fullmodule, meth_name, file, lineno) stack.append((None, thisindent)) # Marker for nested fns elif token == 'class': lineno, thisindent = start |