summaryrefslogtreecommitdiff
path: root/Lib/pyclbr.py
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2004-08-02 06:10:11 +0000
committerAnthony Baxter <anthonybaxter@gmail.com>2004-08-02 06:10:11 +0000
commit0048e6eae88cdbc4977ab106914a9de1b4cb0b77 (patch)
tree93c68f220d55d1dc8ca29663071d6980ff5c53ef /Lib/pyclbr.py
parent82c1e1f053c6028d10dcc61a61dc870c44077e8c (diff)
downloadcpython-0048e6eae88cdbc4977ab106914a9de1b4cb0b77.tar.gz
PEP-0318, @decorator-style. In Guido's words:
"@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
Diffstat (limited to 'Lib/pyclbr.py')
-rw-r--r--Lib/pyclbr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py
index 9e6bcb09c5..0812e22ff4 100644
--- a/Lib/pyclbr.py
+++ b/Lib/pyclbr.py
@@ -222,7 +222,7 @@ def _readmodule(module, path, inpackage=None):
else:
super.append(token)
inherit = names
- cur_class = Class(module, class_name, inherit, file, lineno)
+ cur_class = Class(fullmodule, class_name, inherit, file, lineno)
if not stack:
dict[class_name] = cur_class
stack.append((cur_class, thisindent))