Skip to content

Commit 71d0058

Browse files
committed
fix typos
1 parent 7398ed1 commit 71d0058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/python_essentials.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ In Python, the standard style is set out in [PEP8](https://www.python.org/dev/pe
632632
```{index} single: Python; Docstrings
633633
```
634634

635-
Python has a system for adding comments to modules, class, functions, etc. called *docstrings*.
635+
Python has a system for adding comments to modules, classes, functions, etc. called *docstrings*.
636636

637637
The nice thing about docstrings is that they are available at run-time.
638638

@@ -683,7 +683,7 @@ def f(x):
683683

684684
With one question mark we bring up the docstring, and with two we get the source code as well.
685685

686-
You can find conventions for docstring in [PEP257](https://peps.python.org/pep-0257/).
686+
You can find conventions for docstrings in [PEP257](https://peps.python.org/pep-0257/).
687687

688688
## Exercises
689689

0 commit comments

Comments
 (0)