1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-06-03 11:58:02 +02:00

Fix a couple of typos

This commit is contained in:
Eyal Zekaria 2017-09-01 11:28:17 +02:00
parent 1a79352cc3
commit 43a9c84bac

4
README.md vendored
View File

@ -722,7 +722,7 @@ print(x, ': x in global')
```py ```py
# Let's initialize a row # Let's initialize a row
row = [""]*3 #row i['', '', ''] row = [""]*3 #row i['', '', '']
# Let's make a bord # Let's make a board
board = [row]*3 board = [row]*3
``` ```
@ -790,7 +790,7 @@ def some_func(default_arg=[]):
>>> some_func() >>> some_func()
>>> some_func.__defaults__ >>> some_func.__defaults__
(['some_string'],) (['some_string'],)
>>> some)func() >>> some_func()
>>> some_func.__defaults__ >>> some_func.__defaults__
(['some_string', 'some_string'],) (['some_string', 'some_string'],)
>>> some_func([]) >>> some_func([])