re.compile returns string - tests for #68

This commit is contained in:
David Halter committed 2012-11-23 00:34:17 +01:00
1 parent b020a10053
commit a4b8c720e7
1 file changed
+3
+3
View File
@@ -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()