| 1 |
#!python |
| 2 |
# coding : utf-8 |
| 3 |
# comment |
| 4 |
"docstring" |
| 5 |
|
| 6 |
import sys |
| 7 |
|
| 8 |
"cc", {} |
| 9 |
|
| 10 |
def f1(a, b= None, c=[]): # comment |
| 11 |
r"""docstring |
| 12 |
""" |
| 13 |
x = "" |
| 14 |
print( |
| 15 |
a, |
| 16 |
|
| 17 |
b, |
| 18 |
"""arg1""", # comment |
| 19 |
"""arg2""", # comment |
| 20 |
c ) |
| 21 |
# comment |
| 22 |
'foo' > sys.stderr |
| 23 |
"baz" |
| 24 |
#comment |
| 25 |
sys.stdout;lambda: "justastring" |
| 26 |
|
| 27 |
1j |
| 28 |
|
| 29 |
def f2(): |
| 30 |
# comment |
| 31 |
'''docstring''' |
| 32 |
pass |
| 33 |
class c: |
| 34 |
|
| 35 |
u'''docstring''' |
| 36 |
|
| 37 |
|
| 38 |
f='justastring' |
| 39 |
b'''docstring |
| 40 |
''' |
| 41 |
@f1 |
| 42 |
class c2(object): |
| 43 |
'docstring' |
| 44 |
def __init__(self): |
| 45 |
"docstring" |
| 46 |
def inner(): pass |
| 47 |
d = {'a':0} |
| 48 |
for x in '': # FIXME Removing this leaves nothing, hence a SyntaxError |
| 49 |
"justastring" |