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
dbd6503e
Commit
dbd6503e
authored
Apr 17, 2003
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dded missing k and K format specifiers to Py_BuildValue and friends.
parent
aa3b5d2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Python/modsupport.c
Python/modsupport.c
+6
-0
No files found.
Python/modsupport.c
View file @
dbd6503e
...
...
@@ -289,9 +289,15 @@ do_mkvalue(char **p_format, va_list *p_va)
case
'l'
:
return
PyInt_FromLong
((
long
)
va_arg
(
*
p_va
,
long
));
case
'k'
:
return
PyInt_FromLong
((
long
)
va_arg
(
*
p_va
,
unsigned
long
));
#ifdef HAVE_LONG_LONG
case
'L'
:
return
PyLong_FromLongLong
((
PY_LONG_LONG
)
va_arg
(
*
p_va
,
PY_LONG_LONG
));
case
'K'
:
return
PyLong_FromLongLong
((
PY_LONG_LONG
)
va_arg
(
*
p_va
,
unsigned
PY_LONG_LONG
));
#endif
#ifdef Py_USING_UNICODE
case
'u'
:
...
...
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