summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-26 04:43:29 (GMT)
committerLarry Hastings <larry@hastings.org>2014-01-26 04:43:29 (GMT)
commitc20472640cff9f2cb513b1443897814d0328bea1 (patch)
treee6ad163527b806cc65761d0f720c4202086caf40 /Modules/_sre.c
parent9ad116bcd05cf9b98f544916633641933a0db95c (diff)
downloadcpython-c20472640cff9f2cb513b1443897814d0328bea1.zip
cpython-c20472640cff9f2cb513b1443897814d0328bea1.tar.gz
cpython-c20472640cff9f2cb513b1443897814d0328bea1.tar.bz2
Issue #20390: Small fixes and improvements for Argument Clinic.
Diffstat (limited to 'Modules/_sre.c')
-rw-r--r--Modules/_sre.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 776d6eb..41dca7d 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -528,11 +528,10 @@ sre_search(SRE_STATE* state, SRE_CODE* pattern)
/*[clinic input]
module _sre
-class _sre.SRE_Pattern
+class _sre.SRE_Pattern "PatternObject *" "&Pattern_Type"
_sre.SRE_Pattern.match as pattern_match
- self: self(type="PatternObject *")
pattern: object
pos: Py_ssize_t = 0
endpos: Py_ssize_t(c_default="PY_SSIZE_T_MAX") = sys.maxsize