1
0
forked from VimPlug/jedi
Files
jedi-fork/test/completion/std.py
2012-09-04 16:21:17 +02:00

34 lines
387 B
Python

"""
std library stuff
"""
# -----------------
# re
# -----------------
import re
c = re.compile(r'a')
#? int()
c.match().start()
#? int()
re.match(r'a', 'a').start()
#? int()
next(re.finditer('a', 'a')).start()
#? str()
re.sub('a', 'a')
# -----------------
# ref
# -----------------
import weakref
#? int()
weakref.proxy(1)
#? weakref.ref
weakref.ref(1)
#? int()
weakref.ref(1)()