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
445e2c57
Commit
445e2c57
authored
Sep 15, 2000
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added B format char to Py_BuildValue (same as b,h,i, but makes
bgen-generated code work).
parent
15133f15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Python/getargs.c
Python/getargs.c
+1
-1
No files found.
Python/getargs.c
View file @
445e2c57
...
...
@@ -411,7 +411,7 @@ convertsimple1(PyObject *arg, char **p_format, va_list *p_va)
"byte-sized integer bitfield is less than minimum"
);
return
"integer<B>"
;
}
else
if
(
ival
>
UCHAR_MAX
)
{
else
if
(
ival
>
(
int
)
UCHAR_MAX
)
{
PyErr_SetString
(
PyExc_OverflowError
,
"byte-sized integer bitfield is greater than maximum"
);
return
"integer<B>"
;
...
...
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