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
651f9f77
Commit
651f9f77
authored
Nov 12, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19515: Remove duplicated identifiers in zipimport.c
parent
3f36a573
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
Modules/zipimport.c
Modules/zipimport.c
+4
-6
No files found.
Modules/zipimport.c
View file @
651f9f77
...
...
@@ -14,6 +14,10 @@ struct st_zip_searchorder {
int
type
;
};
#ifdef ALTSEP
_Py_IDENTIFIER
(
replace
);
#endif
/* zip_searchorder defines how we search for a module in the Zip
archive: we first search for a package __init__, then for
non-package .pyc, .pyo and .py entries. The .pyc and .pyo entries
...
...
@@ -66,9 +70,6 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds)
PyObject
*
path
,
*
files
,
*
tmp
;
PyObject
*
filename
=
NULL
;
Py_ssize_t
len
,
flen
;
#ifdef ALTSEP
_Py_IDENTIFIER
(
replace
);
#endif
if
(
!
_PyArg_NoKeywords
(
"zipimporter()"
,
kwds
))
return
-
1
;
...
...
@@ -559,9 +560,6 @@ zipimporter_get_data(PyObject *obj, PyObject *args)
{
ZipImporter
*
self
=
(
ZipImporter
*
)
obj
;
PyObject
*
path
,
*
key
;
#ifdef ALTSEP
_Py_IDENTIFIER
(
replace
);
#endif
PyObject
*
toc_entry
;
Py_ssize_t
path_start
,
path_len
,
len
;
...
...
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