2018-03-31 10:12:55 +00:00
|
|
|
#!python
|
|
|
|
# coding : utf-8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
"cc", {}
|
|
|
|
|
|
|
|
def f1(a, b= None, c=[]):
|
|
|
|
|
|
|
|
|
|
|
|
x = ""
|
|
|
|
print(
|
|
|
|
a,
|
|
|
|
|
|
|
|
b,
|
|
|
|
"""arg1""",
|
|
|
|
"""arg2""",
|
|
|
|
c )
|
|
|
|
|
|
|
|
'foo' > sys.stderr
|
|
|
|
|
|
|
|
|
|
|
|
sys.stdout;lambda: "justastring"
|
|
|
|
|
|
|
|
1j
|
|
|
|
|
|
|
|
def f2():
|
|
|
|
|
|
|
|
|
2018-03-31 15:53:08 +00:00
|
|
|
pass
|
2018-03-31 10:12:55 +00:00
|
|
|
class c:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-31 15:53:08 +00:00
|
|
|
f='justastring'
|
2018-03-31 10:12:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
@f1
|
|
|
|
class c2(object):
|
|
|
|
|
2018-03-31 15:53:08 +00:00
|
|
|
def __init__(self):
|
2018-03-31 10:12:55 +00:00
|
|
|
|
2018-03-31 15:53:08 +00:00
|
|
|
def inner(): pass
|
|
|
|
d = {'a':0}
|
|
|
|
for x in '':
|
2018-03-31 13:25:37 +00:00
|
|
|
|