File: precedence.py

package info (click to toggle)
python-jedi 0.10.0~git1%2Bf05c071-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,064 kB
  • ctags: 3,014
  • sloc: python: 16,997; makefile: 149; ansic: 13
file content (37 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (6)
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
def marks(code):
    if '.' in code:
        another(code[:code.index(',') - 1] + '!')
    else:
        another(code + '.')


def another(code2):
    call(numbers(code2 + 'haha'))

marks('start1 ')
marks('start2 ')


def alphabet(code4):
    if 1:
        if 2:
            return code4 + 'a'
        else:
            return code4 + 'b'
    else:
        if 2:
            return code4 + 'c'
        else:
            return code4 + 'd'


def numbers(code5):
    if 2:
        return alphabet(code5 + '1')
    else:
        return alphabet(code5 + '2')


def call(code3):
    code3 = numbers(numbers('end')) + numbers(code3)
    code3.partition