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
3e2b7171
Commit
3e2b7171
authored
Nov 09, 2010
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #10359: Remove ";" after function definition, invalid in ISO C
parent
572895b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Lib/distutils/tests/test_build_ext.py
Lib/distutils/tests/test_build_ext.py
+1
-1
Modules/_testcapimodule.c
Modules/_testcapimodule.c
+1
-1
Objects/weakrefobject.c
Objects/weakrefobject.c
+1
-1
Python/import.c
Python/import.c
+1
-1
No files found.
Lib/distutils/tests/test_build_ext.py
View file @
3e2b7171
...
...
@@ -318,7 +318,7 @@ class BuildExtTestCase(TempdirManager,
def
test_get_outputs
(
self
):
tmp_dir
=
self
.
mkdtemp
()
c_file
=
os
.
path
.
join
(
tmp_dir
,
'foo.c'
)
self
.
write_file
(
c_file
,
'void PyInit_foo(void) {}
;
\
n
'
)
self
.
write_file
(
c_file
,
'void PyInit_foo(void) {}
\
n
'
)
ext
=
Extension
(
'foo'
,
[
c_file
],
optional
=
False
)
dist
=
Distribution
({
'name'
:
'xx'
,
'ext_modules'
:
[
ext
]})
...
...
Modules/_testcapimodule.c
View file @
3e2b7171
...
...
@@ -1792,7 +1792,7 @@ test_unicode_compare_with_ascii(PyObject *self) {
return
NULL
;
}
Py_RETURN_NONE
;
}
;
}
/* This is here to provide a docstring for test_descr. */
static
PyObject
*
...
...
Objects/weakrefobject.c
View file @
3e2b7171
...
...
@@ -583,7 +583,7 @@ proxy_iternext(PyWeakReference *proxy)
}
WRAP_METHOD
(
proxy_bytes
,
"__bytes__"
)
;
WRAP_METHOD
(
proxy_bytes
,
"__bytes__"
)
static
PyMethodDef
proxy_methods
[]
=
{
...
...
Python/import.c
View file @
3e2b7171
...
...
@@ -3101,7 +3101,7 @@ imp_make_magic(long magic)
buf
[
3
]
=
(
char
)
((
magic
>>
24
)
&
0xff
);
return
PyBytes_FromStringAndSize
(
buf
,
4
);
}
;
}
static
PyObject
*
imp_get_magic
(
PyObject
*
self
,
PyObject
*
noargs
)
...
...
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