Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f96b784

Browse files
committed
Merged revisions 79837 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r79837 | antoine.pitrou | 2010-04-06 17:38:25 +0200 (mar., 06 avril 2010) | 19 lines 14 years later, we still don't know what it's for. Spotted by the PyPy developers. Original commit is: branch: trunk user: guido date: Mon Aug 19 21:32:04 1996 +0200 files: Python/getargs.c description: [svn r6499] Support for keyword arguments (PyArg_ParseTupleAndKeywords) donated by Geoff Philbrick <[email protected]> (slightly changed by me). Also a little change to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x). ........
1 parent 3dd1bfc commit f96b784

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Python/getargs.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,16 +1849,6 @@ skipitem(const char **p_format, va_list *p_va, int flags)
18491849
(void) va_arg(*p_va, PyTypeObject*);
18501850
(void) va_arg(*p_va, PyObject **);
18511851
}
1852-
#if 0
1853-
/* I don't know what this is for */
1854-
else if (*format == '?') {
1855-
inquiry pred = va_arg(*p_va, inquiry);
1856-
format++;
1857-
if ((*pred)(arg)) {
1858-
(void) va_arg(*p_va, PyObject **);
1859-
}
1860-
}
1861-
#endif
18621852
else if (*format == '&') {
18631853
typedef int (*converter)(PyObject *, void *);
18641854
(void) va_arg(*p_va, converter);

0 commit comments

Comments
 (0)