[docs] [issue23645] Incorrect doc for __getslice__

Alex Shkop report at bugs.python.org
Fri Mar 13 09:39:45 CET 2015

Alex Shkop added the comment:

This is true. In ceval.c default value for end index is PY_SSIZE_T_MAX. Whereas in sysmodule.c defined:


I added a patch that fixes documentation. But please note, that __getslice__ is deprecated since Python 2.0 and is no longer supported in Python 3. Use __getitem__ instead.

keywords: +patch
nosy: +ashkop
Added file: http://bugs.python.org/file38468/issue23645.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list