diff options
author | Georg Brandl <georg@python.org> | 2007-09-01 13:59:50 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-01 13:59:50 (GMT) |
commit | f2fc934a77fef3ef368f4a41e05e67b846821a12 (patch) | |
tree | ffe2a7e765f9b462071f416ab4cc0a92c0363f6b /Doc/c-api | |
parent | 55ac8f0f26efdbbcb5cc197f9369d23d50bee908 (diff) | |
download | cpython-f2fc934a77fef3ef368f4a41e05e67b846821a12.zip cpython-f2fc934a77fef3ef368f4a41e05e67b846821a12.tar.gz cpython-f2fc934a77fef3ef368f4a41e05e67b846821a12.tar.bz2 |
Get rid of METH_OLDARGS.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/newtypes.rst | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/c-api/newtypes.rst b/Doc/c-api/newtypes.rst index f8386b6..91efe4b 100644 --- a/Doc/c-api/newtypes.rst +++ b/Doc/c-api/newtypes.rst @@ -255,16 +255,6 @@ convention flags can be combined with a binding flag. :ctype:`PyObject\*` parameter representing the single argument. -.. XXX deprecated, should be removed -.. data:: METH_OLDARGS - - This calling convention is deprecated. The method must be of type - :ctype:`PyCFunction`. The second argument is *NULL* if no arguments are given, - a single object if exactly one argument is given, and a tuple of objects if more - than one argument is given. There is no way for a function using this - convention to distinguish between a call with multiple arguments and a call with - a tuple as the only argument. - These two constants are not used to indicate the calling convention but the binding when use with methods of classes. These may not be used for functions defined for modules. At most one of these flags may be set for any given |