chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/control: Fix up some Python version numbers.
[mLib-python]
/
str.pyx
diff --git
a/str.pyx
b/str.pyx
index a87f12cdbf883f4639cf9d3967f96619fce78e0c..a48b5f2ccef14cc50c0af69203ec2c566cebb499 100644
(file)
--- a/
str.pyx
+++ b/
str.pyx
@@
-78,6
+78,8
@@
def split(char *p, int n = -1, quotep = False):
def match(char *p, char *s, prefixp = False):
cdef unsigned f
def match(char *p, char *s, prefixp = False):
cdef unsigned f
+
+ f = 0
if prefixp:
f = f | STRF_PREFIX
return _tobool(str_matchx(p, s, f))
if prefixp:
f = f | STRF_PREFIX
return _tobool(str_matchx(p, s, f))