8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abefbcb commit 3c3f9a2Copy full SHA for 3c3f9a2
Doc/library/__main__.rst
@@ -251,9 +251,9 @@ attribute will include the package's path if imported::
251
>>> asyncio.__main__.__name__
252
'asyncio.__main__'
253
254
-This won't work for ``__main__.py`` files in the root directory of a .zip file
255
-though. Hence, for consistency, minimal ``__main__.py`` like the :mod:`venv`
256
-one mentioned below are preferred.
+This won't work for ``__main__.py`` files in the root directory of a
+``.zip`` file though. Hence, for consistency, a minimal ``__main__.py``
+without a ``__name__`` check is preferred.
257
258
.. seealso::
259
0 commit comments