Skip to content

Commit 74be6a4

Browse files
authored
Update python_best_practices.rst
1 parent 21f3693 commit 74be6a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/preamble/python/python_best_practices.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ It's dangerous to go alone: Always wrap the contents of :code:`main` function on
230230

231231
It is good practice to wrap the contents of :code:`main()` call in a :code:`try--except` block
232232
with at least the :code:`KeyboardInterrupt` clause. This allows the user to shutdown
233-
the module cleanly either through the terminal or through :program:`PyCharm`. We have done so in the example as follows
233+
the module cleanly. We have done so in the example as follows
234234

235235
.. literalinclude:: ../../../../preamble/python/minimalist_package/minimalist_package/minimalist_script.py
236236
:language: python
@@ -282,7 +282,7 @@ Minimalist class: Use classes profusely
282282
283283
As you are familiar with object-oriented programming, you know that classes are central to this paradigm.
284284
As a memory refresher, let's make a class that honestly does nothing really useful but illustrates all
285-
the basic points in a Python class.
285+
the basics of a Python class.
286286

287287
Create the file below in the directory :file:`~/ros2_tutorials_preamble/python/minimalist_package/minimalist_package`.
288288

0 commit comments

Comments
 (0)