[docs] [issue23747] platform module exposes win32_ver function on posix systems

STINNER Victor report at bugs.python.org
Mon Mar 23 10:33:45 CET 2015


STINNER Victor added the comment:

> Why is this function even exposed on Linux?

It is a deliberate design choice of the platform module. mac_ver(), win32_ver() and linux_distribution() are available on all platforms.

mac_ver() says "entries which cannot be determined are set to ''. All tuple entries are strings."

Maybe it should be better explained in the doc.

----------
assignee:  -> docs at python
components: +Documentation
nosy: +docs at python, haypo
versions: +Python 2.7, Python 3.4, Python 3.5

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


More information about the docs mailing list