Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0f10f7d

Browse filesBrowse files
author
Erlend E. Aasland
committed
Update clinic
1 parent 12bf771 commit 0f10f7d
Copy full SHA for 0f10f7d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed

‎Modules/_sre.c

Copy file name to clipboardExpand all lines: Modules/_sre.c
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class _sre.SRE_Pattern "PatternObject *" "get_sre_module_state_by_type(tp)->Patt
279279
class _sre.SRE_Match "MatchObject *" "get_sre_module_state_by_type(tp)->Match_Type"
280280
class _sre.SRE_Scanner "ScannerObject *" "get_sre_module_state_by_type(tp)->Scanner_Type"
281281
[clinic start generated code]*/
282-
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=9f2e869a208f635c]*/
282+
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=8b48770d8db721b4]*/
283283

284284
/*[clinic input]
285285
_sre.getcodesize -> int
@@ -2841,7 +2841,7 @@ do { \
28412841
goto error; \
28422842
int res = PyModule_AddObjectRef(module, name, o); \
28432843
Py_DECREF(o); \
2844-
if (res <) { \
2844+
if (res < 0) { \
28452845
goto error; \
28462846
} \
28472847
} while (0)
@@ -2850,8 +2850,6 @@ static int
28502850
sre_exec(PyObject *m)
28512851
{
28522852
_sremodulestate *state;
2853-
PyObject* d;
2854-
PyObject* x;
28552853

28562854
/* Create heap types */
28572855
state = get_sre_module_state(m);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.