diff options
author | Larry Hastings <larry@hastings.org> | 2014-01-07 22:25:26 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-01-07 22:25:26 (GMT) |
commit | df7c22b25b1e7c2138771020d06f61d8d038812c (patch) | |
tree | 80b85cb79c5c052a575ef21be86ea67f5a21569a /Modules | |
parent | e483d16c54b0b5cefd041875e486ae35d098395a (diff) | |
download | cpython-df7c22b25b1e7c2138771020d06f61d8d038812c.zip cpython-df7c22b25b1e7c2138771020d06f61d8d038812c.tar.gz cpython-df7c22b25b1e7c2138771020d06f61d8d038812c.tar.bz2 |
Issue #19723: Missed one conversion to the new Argument Clinic syntax.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_sre.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c index 6be2e59..5a8f839 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -526,7 +526,7 @@ sre_search(SRE_STATE* state, SRE_CODE* pattern) return sre_ucs4_search(state, pattern); } -/*[clinic] +/*[clinic input] module _sre class _sre.SRE_Pattern @@ -538,7 +538,7 @@ _sre.SRE_Pattern.match as pattern_match endpos: Py_ssize_t(c_default="PY_SSIZE_T_MAX") = sys.maxsize Matches zero or more characters at the beginning of the string. -[clinic]*/ +[clinic start generated code]*/ PyDoc_STRVAR(pattern_match__doc__, "match(pattern, pos=0, endpos=sys.maxsize)\n" @@ -571,7 +571,7 @@ exit: static PyObject * pattern_match_impl(PatternObject *self, PyObject *pattern, Py_ssize_t pos, Py_ssize_t endpos) -/*[clinic checksum: 63e59c5f3019efe6c1f3acdec42b2d3595e14a09]*/ +/*[clinic end generated code: checksum=63e59c5f3019efe6c1f3acdec42b2d3595e14a09]*/ { SRE_STATE state; Py_ssize_t status; |