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
5616c6d6
Commit
5616c6d6
authored
Aug 26, 2007
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple of warnings
parent
3c814d25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Modules/cjkcodecs/cjkcodecs.h
Modules/cjkcodecs/cjkcodecs.h
+1
-1
Python/import.c
Python/import.c
+1
-1
No files found.
Modules/cjkcodecs/cjkcodecs.h
View file @
5616c6d6
...
...
@@ -266,7 +266,7 @@ getcodec(PyObject *self, PyObject *encoding)
"encoding name must be a string."
);
return
NULL
;
}
enc
=
PyUnicode_AsString
(
encoding
,
NULL
);
enc
=
PyUnicode_AsString
(
encoding
);
if
(
enc
==
NULL
)
return
NULL
;
...
...
Python/import.c
View file @
5616c6d6
...
...
@@ -2366,7 +2366,7 @@ PyImport_ReloadModule(PyObject *m)
"reload() argument must be module"
);
return
NULL
;
}
name
=
PyModule_GetName
(
m
);
name
=
(
char
*
)
PyModule_GetName
(
m
);
if
(
name
==
NULL
)
return
NULL
;
if
(
m
!=
PyDict_GetItemString
(
modules
,
name
))
{
...
...
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