Mercurial > cpython-lru_cache-weakref
comparison Python/getargs.c @ 76835:b32baa5b7626
Merge from 3.2. Issue #14749: Add support for 'Z' to skipitem().
| author | Larry Hastings <larry@hastings.org> |
|---|---|
| date | Tue, 08 May 2012 03:54:05 -0700 |
| parents | e4617650f006 91612618985b |
| children | 8ab37fa24e58 |
comparison
equal
deleted
inserted
replaced
| 76833:d533663caee8 | 76835:b32baa5b7626 |
|---|---|
| 1655 | 1655 |
| 1656 case 's': /* string */ | 1656 case 's': /* string */ |
| 1657 case 'z': /* string or None */ | 1657 case 'z': /* string or None */ |
| 1658 case 'y': /* bytes */ | 1658 case 'y': /* bytes */ |
| 1659 case 'u': /* unicode string */ | 1659 case 'u': /* unicode string */ |
| 1660 case 'Z': /* unicode string or None */ | |
| 1660 case 'w': /* buffer, read-write */ | 1661 case 'w': /* buffer, read-write */ |
| 1661 { | 1662 { |
| 1662 (void) va_arg(*p_va, char **); | 1663 (void) va_arg(*p_va, char **); |
| 1663 if (*format == '#') { | 1664 if (*format == '#') { |
| 1664 if (flags & FLAG_SIZE_T) | 1665 if (flags & FLAG_SIZE_T) |
