mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #20390: Small fixes and improvements for Argument Clinic.
This commit is contained in:
parent
9ad116bcd0
commit
c20472640c
18 changed files with 164 additions and 125 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue