]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23758: Improve num_params docs of create_{function,aggregate} functions
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 27 Mar 2016 19:39:41 +0000 (22:39 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 27 Mar 2016 19:39:41 +0000 (22:39 +0300)
commitf841909f092e4c7e17f1673cc7f0d9b535542a60
tree062b600efdae8c2ef91c00f76b4a5c26aeb47f25
parentb61b0f13b5b88f500d3be053a5e25fc167fd6ebd
parentfa0f62d6ab3d4acf949bd0160bca16f0f973c323
Issue #23758: Improve num_params docs of create_{function,aggregate} functions

If you pass -1, the callable can take any number of arguments.

Added tests to verify the behavior.

Initial patch by Cédric Krier.