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
0031ff3f
Commit
0031ff3f
authored
Feb 25, 2008
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation
parent
3376d64d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Python/compile.c
Python/compile.c
+1
-1
Python/peephole.c
Python/peephole.c
+1
-1
No files found.
Python/compile.c
View file @
0031ff3f
...
@@ -2323,7 +2323,7 @@ compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx)
...
@@ -2323,7 +2323,7 @@ compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx)
return
compiler_error
(
c
,
"can not assign to __debug__"
);
return
compiler_error
(
c
,
"can not assign to __debug__"
);
}
}
mangled
=
_Py_Mangle
(
c
->
u
->
u_private
,
name
);
mangled
=
_Py_Mangle
(
c
->
u
->
u_private
,
name
);
if
(
!
mangled
)
if
(
!
mangled
)
return
0
;
return
0
;
...
...
Python/peephole.c
View file @
0031ff3f
...
@@ -317,7 +317,7 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names,
...
@@ -317,7 +317,7 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names,
if
(
codestr
==
NULL
)
if
(
codestr
==
NULL
)
goto
exitUnchanged
;
goto
exitUnchanged
;
codestr
=
(
unsigned
char
*
)
memcpy
(
codestr
,
codestr
=
(
unsigned
char
*
)
memcpy
(
codestr
,
PyString_AS_STRING
(
code
),
codelen
);
PyString_AS_STRING
(
code
),
codelen
);
/* Verify that RETURN_VALUE terminates the codestring. This allows
/* Verify that RETURN_VALUE terminates the codestring. This allows
the various transformation patterns to look ahead several
the various transformation patterns to look ahead several
...
...
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