diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-02 06:10:11 +0000 |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-02 06:10:11 +0000 |
commit | 0048e6eae88cdbc4977ab106914a9de1b4cb0b77 (patch) | |
tree | 93c68f220d55d1dc8ca29663071d6980ff5c53ef /Lib/pyclbr.py | |
parent | 82c1e1f053c6028d10dcc61a61dc870c44077e8c (diff) | |
download | cpython-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.py | 2 |
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)) |