[Python-checkins] cpython (3.2): Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.

larry.hastings python-checkins at python.org
Tue May 8 12:51:41 CEST 2012


http://hg.python.org/cpython/rev/91612618985b
changeset:   76834:91612618985b
branch:      3.2
parent:      76831:197f47238753
user:        Larry Hastings <larry at hastings.org>
date:        Tue May 08 03:51:18 2012 -0700
summary:
  Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.

files:
  Python/getargs.c |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Python/getargs.c b/Python/getargs.c
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -1633,6 +1633,7 @@
     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 **);

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list