We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c14e0aa commit 9d76a93Copy full SHA for 9d76a93
1 file changed
source/tutorials/packaging-projects.rst
@@ -303,14 +303,14 @@ Run the Python interpreter (make sure you're still in your virtualenv):
303
304
python
305
306
-And then import the module and print out the ``name`` property. This should be
+And then import the module and print out the ``__name__`` property. This should be
307
the same regardless of what you name you gave your :term:`distribution package`
308
in :file:`setup.py` (in this case, ``example-pkg-your-username``) because your :term:`import package` is ``example_pkg``.
309
310
.. code-block:: python
311
312
>>> import example_pkg
313
- >>> example_pkg.name
+ >>> example_pkg.__name__
314
'example_pkg'
315
316
0 commit comments