New submission from Arthur Milchior <art...@milchior.fr>:

In 3.8, int() default implementation changed, using __index__() if it is 
available instead of __trunc__(). The file function.rst was updated 
accordingly, but the redundant information in datamodel.rst contained out of 
date information

I offer a correction in https://github.com/python/cpython/pull/29182 (but 
ideally it should be added back to 3.8 python documentation)

----------
assignee: docs@python
components: Documentation
messages: 404848
nosy: ArthurMilchior, docs@python
priority: normal
severity: normal
status: open
title: Documentation of int() in datamodel.rst is out of date
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45583>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to