You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/data/minimize_samples/obstacle_course.py

50 lines
666 B
Python

#!python
# coding : utf-8
# comment
"docstring"
import sys
"cc", {}
def f1(a, b= None, c=[]): # comment
r"""docstring
"""
x = ""
print(
a,
b,
"""arg1""", # comment
"""arg2""", # comment
c )
# comment
'foo' > sys.stderr
"baz"
#comment
sys.stdout;lambda: "justastring"
1j
def f2():
# comment
'''docstring'''
pass
class c:
u'''docstring'''
f='justastring'
b'''docstring
'''
@f1
class c2(object):
'docstring'
def __init__(self):
"docstring"
def inner(): pass
d = {'a':0}
for x in '': # FIXME Removing this leaves nothing, hence a SyntaxError
"justastring"