fix a problem related to #246: comments were used as normal strings

This commit is contained in:
David Halter
2013-07-18 12:18:07 +02:00
parent b6e9f16a01
commit 075c60de29
3 changed files with 14 additions and 2 deletions

View File

@@ -220,3 +220,14 @@ class B(): pass
A.__init__
#? ['__init__']
B.__init__
# -----------------
# comments
# -----------------
class A():
def __init__(self):
self.hello = {} # comment shouldn't be a string
#? dict()
A().hello