mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 22:35:47 +08:00
re.compile returns string - tests for #68
This commit is contained in:
1 parent
b020a10053
commit
a4b8c720e7
1 file changed
+3
@@ -7,6 +7,9 @@ std library stuff
|
|||||||
# -----------------
|
# -----------------
|
||||||
import re
|
import re
|
||||||
c = re.compile(r'a')
|
c = re.compile(r'a')
|
||||||
|
# re.compile should not return str -> issue #68
|
||||||
|
#? []
|
||||||
|
c.startswith
|
||||||
#? int()
|
#? int()
|
||||||
c.match().start()
|
c.match().start()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user