2 ms·
If you don't know whether a method returns an iterator or a mutable/immutable sequence (regardless of the specific type) then the documentation is incomplete (i
by d0mine 10y ago
If you don't know whether a method returns an iterator or a mutable/immutable sequence (regardless of the specific type) then the documentation is incomplete (it is a bug). If it is in stdlib; you could submit a documentation patch for a *.rst file on https://bugs.python.org/ https://bugs.python.org/ See https://docs.python.org/devguide/docquality.html https://docs.python.org/devguide/docquality.html