summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZearin <zearin@gonk.net>2011-10-07 11:12:31 -0400
committerZearin <zearin@gonk.net>2011-10-07 11:12:31 -0400
commitc704af91d42c8fd7a7c36424e33bc64e7e0a83ad (patch)
treed92371ea66b291c7bdcf8a397570b27b22a60e00
parentdcfe07f78c618cd4154cf5745c9c8dfcd3df5ad3 (diff)
downloadcmd2-c704af91d42c8fd7a7c36424e33bc64e7e0a83ad.tar.gz
Changed docstring comment to a normal comment.
The comment is obviously not intended as a block of descriptive text, so it probably shouldn't use the docstring style.
-rwxr-xr-xcmd2.py23
1 files changed, 13 insertions, 10 deletions
diff --git a/cmd2.py b/cmd2.py
index ba7fab8..7bd364c 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -23,6 +23,8 @@ written to use `self.stdout.write()`,
mercurial repository at http://www.assembla.com/wiki/show/python-cmd2
"""
+
+
import cmd
import re
import os
@@ -47,19 +49,20 @@ __version__ = '0.6.4'
if sys.version_info[0] == 2:
pyparsing.ParserElement.enablePackrat()
-"""
-Packrat is causing Python3 errors that I don't understand.
-> /usr/local/Cellar/python3/3.2/lib/python3.2/site-packages/pyparsing-1.5.6-py3.2.egg/pyparsing.py(999)scanString()
--> nextLoc,tokens = parseFn( instring, preloc, callPreParse=False )
-(Pdb) n
-NameError: global name 'exc' is not defined
-(Pdb) parseFn
-<bound method Or._parseCache of {Python style comment ^ C style comment}>
+# Packrat is causing Python3 errors that I don't understand.
+#
+# > /usr/local/Cellar/python3/3.2/lib/python3.2/site-packages/pyparsing-1.5.6-py3.2.egg/pyparsing.py(999)scanString()
+# -> nextLoc,tokens = parseFn( instring, preloc, callPreParse=False )
+# (Pdb) n
+# NameError: global name 'exc' is not defined
+#
+# (Pdb) parseFn
+# <bound method Or._parseCache of {Python style comment ^ C style comment}>
+#
+# Bug report filed: https://sourceforge.net/tracker/?func=detail&atid=617311&aid=3381439&group_id=97203
-Bug report filed: https://sourceforge.net/tracker/?func=detail&atid=617311&aid=3381439&group_id=97203
-"""
class OptionParser(optparse.OptionParser):
def exit(self, status=0, msg=None):