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
67ad776b
Commit
67ad776b
authored
Nov 22, 2016
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #28727: Fix typo in pattern_richcompare()
Typo catched by Serhiy Storchaka, thanks!
parent
7724fca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Modules/_sre.c
Modules/_sre.c
+1
-1
No files found.
Modules/_sre.c
View file @
67ad776b
...
@@ -2688,7 +2688,7 @@ pattern_richcompare(PyObject *lefto, PyObject *righto, int op)
...
@@ -2688,7 +2688,7 @@ pattern_richcompare(PyObject *lefto, PyObject *righto, int op)
cmp
=
(
left
->
flags
==
right
->
flags
cmp
=
(
left
->
flags
==
right
->
flags
&&
left
->
isbytes
==
right
->
isbytes
&&
left
->
isbytes
==
right
->
isbytes
&&
left
->
codesize
&&
right
->
codesize
);
&&
left
->
codesize
==
right
->
codesize
);
if
(
cmp
)
{
if
(
cmp
)
{
/* Compare the code and the pattern because the same pattern can
/* Compare the code and the pattern because the same pattern can
produce different codes depending on the locale used to compile the
produce different codes depending on the locale used to compile the
...
...
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