projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b66623
)
Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.
author
Larry Hastings
<larry@hastings.org>
Tue, 8 May 2012 10:51:18 +0000
(
03:51
-0700)
committer
Larry Hastings
<larry@hastings.org>
Tue, 8 May 2012 10:51:18 +0000
(
03:51
-0700)
Python/getargs.c
patch
|
blob
|
history
diff --git
a/Python/getargs.c
b/Python/getargs.c
index 600941d9c7aa690fef75316f91cd9a0eaa84f46a..0069671d3c732d0bc241f836e9688fefeae12646 100644
(file)
--- a/
Python/getargs.c
+++ b/
Python/getargs.c
@@
-1633,6
+1633,7
@@
skipitem(const char **p_format, va_list *p_va, int flags)
case 'z': /* string or None */
case 'y': /* bytes */
case 'u': /* unicode string */
+ case 'Z': /* unicode string or None */
case 'w': /* buffer, read-write */
{
(void) va_arg(*p_va, char **);