statements should care for its own docstrings, not the parser

This commit is contained in:
David Halter committed 2013-09-02 23:12:10 +04:30
1 parent 6ac3cfdece
commit 2b88640c3a
3 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ def test_get_code():
class SomeClass(object, mixin):
def __init__(self):
self.xy = 3.0
'statement docstr'
"""statement docstr"""
def some_method(self):
return 1
def yield_method(self):