[New-bugs-announce] [issue22580] PyUnicode_Tailmatch documentation does not match signature

Josh Ayers report at bugs.python.org
Wed Oct 8 17:11:59 CEST 2014


New submission from Josh Ayers:

The documentation for PyUnicode_Tailmatch says it returns an int:
https://docs.python.org/3/c-api/unicode.html?highlight=pyunicode_tailmatch#c.PyUnicode_Tailmatch


However, the include file shows it returns Py_ssize_t:
https://hg.python.org/cpython/file/f21f0de30544/Include/unicodeobject.h#l1952

----------
components: Unicode
messages: 228797
nosy: Josh.Ayers, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: PyUnicode_Tailmatch documentation does not match signature
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22580>
_______________________________________


More information about the New-bugs-announce mailing list