]> granicus.if.org Git - python/commit
Uniformize argument names of "call" functions
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 6 Dec 2016 15:27:24 +0000 (16:27 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 6 Dec 2016 15:27:24 +0000 (16:27 +0100)
commit2d0eb65f455ddd66f74ad01a8f4a44d271f2a3da
tree44ddb2baab8b1ca9e4ff117cb87a878bd4f07e4f
parent89072047b86e90f415d4d7727733150b89f72b32
Uniformize argument names of "call" functions

Issue #28838: Rename parameters of the "calls" functions of the Python C API.

* Rename 'callable_object' and 'func' to 'callable': any Python callable object
  is accepted, not only Python functions
* Rename 'method' and 'nameid' to 'name' (method name)
* Rename 'o' to 'obj'
* Move, fix and update documentation of PyObject_CallXXX() functions
  in abstract.h
* Update also the documentaton of the C API (update parameter names)
Doc/c-api/object.rst
Include/abstract.h
Include/ceval.h
Objects/abstract.c
Objects/typeobject.c
Python/ceval.c
Python/modsupport.c