Skip to content

Commit d0ce791

Browse files
authored
Add a reminder about what the question mark does
1 parent 65429e8 commit d0ce791

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

_episodes/06-loops-and-functions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,8 @@ The text between the two sets of triple double quotes is called a docstring and
398398
contains the documentation for the function. It does nothing when the function
399399
is running and is therefore not necessary, but it is good practice to include
400400
docstrings as a reminder of what the code does. Docstrings in functions also
401-
become part of their 'official' documentation:
401+
become part of their 'official' documentation, and we can see them by typing
402+
a `?` (question mark) after the function name:
402403

403404
~~~
404405
one_year_csv_writer?

0 commit comments

Comments
 (0)