summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan E <jelsnerbusiness@outlook.com>2020-12-29 17:19:49 -0800
committerGitHub <noreply@github.com>2020-12-29 17:19:49 -0800
commitad71fbc76951144facc0dbd4fe39715c95915511 (patch)
treed65ed3afc2f998b01f01f6abe2492f8a92c07698
parent95a9c474d30acc729b536f9ad88ead7efab62c5d (diff)
downloadpython-setuptools-git-ad71fbc76951144facc0dbd4fe39715c95915511.tar.gz
Fix code typo in entry_point.rst
In __init__.py the function helloworld() was defined, but everywhere else, hello_world() is called. Rename this function so that it is consistent with the naming in the rest of the file.
-rw-r--r--docs/userguide/entry_point.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/userguide/entry_point.rst b/docs/userguide/entry_point.rst
index edab4465..73820728 100644
--- a/docs/userguide/entry_point.rst
+++ b/docs/userguide/entry_point.rst
@@ -28,7 +28,7 @@ with ``__init__.py`` as:
.. code-block:: python
- def helloworld():
+ def hello_world():
print("Hello world")
and ``__main__.py`` providing a hook: