Skip to content

Commit e324776

Browse files
authored
Merge pull request realpython#814 from monchitos82/master
Adding a reminder for preventing a misuse of the example in "common g…
2 parents 83d1fd4 + 6e0c78d commit e324776

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/writing/gotchas.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ signal that no argument was provided (:py:data:`None` is often a good choice).
7676
to.append(element)
7777
return to
7878
79+
Do not forget, you are passing a *list* object as the second argument.
7980

8081
When the Gotcha Isn't a Gotcha
8182
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)