diff options
author | Ken Hughes <khughes@pacific.edu> | 2008-09-11 01:37:22 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2008-09-11 01:37:22 +0400 |
commit | 08591412381db4056c268ff3889fb45966de90ec (patch) | |
tree | 061ac859828ab4c251d2ea9038a74d36c39a29f1 /release | |
parent | 9e675e547e6d47c5ddf93c0e708579e0c5610564 (diff) |
Scripts
-------
Removed empty parenthesis from class definitions, causes a syntax error in
Python 2.4 (reported by Sanne on IRC, thanks!)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/bpymodules/BPyTextPlugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/bpymodules/BPyTextPlugin.py b/release/scripts/bpymodules/BPyTextPlugin.py index 5e5c9f55e53..cd5a085de37 100644 --- a/release/scripts/bpymodules/BPyTextPlugin.py +++ b/release/scripts/bpymodules/BPyTextPlugin.py @@ -20,7 +20,7 @@ from Blender.sys import time from tokenize import generate_tokens, TokenError, \ COMMENT, DEDENT, INDENT, NAME, NEWLINE, NL, STRING, NUMBER -class Definition(): +class Definition: """Describes a definition or defined object through its name, line number and docstring. This is the base class for definition based descriptors. """ @@ -30,7 +30,7 @@ class Definition(): self.lineno = lineno self.doc = doc -class ScriptDesc(): +class ScriptDesc: """Describes a script through lists of further descriptor objects (classes, defs, vars) and dictionaries to built-in types (imports). If a script has not been fully parsed, its incomplete flag will be set. The time of the last |