File: obstacle_course.py

package info (click to toggle)
python-mitogen 0.3.26-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,456 kB
  • sloc: python: 22,134; sh: 183; makefile: 74; perl: 19; ansic: 18
file content (49 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!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"