mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 03:24:34 +08:00
speed test to examples
This commit is contained in:
1 parent
cc34c7d4f3
commit
4f6116ac6e
3 files changed
+6
-6
No files matched your search
@@ -0,0 +1,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
|
||||
Reference in new issue
Block a user