Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
df7c22b2
Commit
df7c22b2
authored
Jan 07, 2014
by
Larry Hastings
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19723: Missed one conversion to the new Argument Clinic syntax.
parent
e483d16c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Modules/_sre.c
Modules/_sre.c
+3
-3
No files found.
Modules/_sre.c
View file @
df7c22b2
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment