1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-25 20:44:24 +01:00

Fix typos

* Changes "bord" to "board"
* Changes "some)func" to "some_func"
This commit is contained in:
Satwik Kansal 2017-09-01 02:36:46 -07:00 committed by GitHub
commit 82b4ea20b2

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([])