mirror of https://github.com/python/cpython
b8c20f9049
It now always returns an integer if one or less counting options are specified. Previously it could return a single count as a 1-tuple, an integer (only if option "update" was specified) or None if no items found. The result is now the same if wantobjects is set to 0. |
||
---|---|---|
.. | ||
Build | ||
C API | ||
Core and Builtins | ||
Documentation | ||
IDLE | ||
Library | ||
Security | ||
Tests | ||
Tools-Demos | ||
Windows | ||
macOS |