New submission from Brett Cannon <br...@python.org>:

https://docs.python.org/3/reference/import.html#module-path says that 
"regardless of its value", __path__'s mere existence is key. But then later the 
docs say "__path__ must be an iterable of strings, but it may be empty". 
Technically the latter is more accurate, so the docs should get touched up to 
match itself better.

----------
assignee: brett.cannon
components: Documentation
keywords: easy
messages: 315256
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: Clarify that __path__ can't be set to just anything
versions: Python 3.6, Python 3.7, Python 3.8

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

Reply via email to