[Python-ideas] Python 2's re module should take longs

Georg Brandl g.brandl at gmx.net
Tue Sep 30 23:03:58 CEST 2014


On 09/30/2014 10:32 PM, Chris Kaynor wrote:

> As a side note, it appears the documentation
> at https://docs.python.org/2/c-api/long.html is slightly incorrect: there appear
> to be two instances of a few functions, with slightly different documentation,
> but the same return, arguments, and name. The ones I can seeare
> "PyLong_FromSsize_t" and "PyLong_AsSsize_t". Prehaps I am just missing some
> subtle difference in the names or arguments?

It just looks like a duplication, maybe from editing a merge conflict. Fixed.

Georg



More information about the Python-ideas mailing list