Skip to content

Commit

Permalink
fix: some typos uncovered during the session
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jan 11, 2022
1 parent 1d2ab3c commit f0b4605
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notebooks/0 Intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"\n",
"![GOTO xkcd comic](https://imgs.xkcd.com/comics/goto.png)\n",
"\n",
"We will see logs of examples of this -- in section 2, especially."
"We will see lots of examples of this -- in section 2, especially."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/2.4 Context Managers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
" txt = f.readlines()\n",
"```\n",
"\n",
"When you enter the with block, `__enter__` is called and the result is assigned to the `as` target, if there is one. Then when you leave the block, `__exit__` is called. If you leave via an exception, `__exit__` gets special arguments that let you even decide what to do based on that the exception is - or even handle the exception and continue. `contextlib` has several simple context managers, like `redirect_stdout`, `redirect_stdout`, and `suppress`:"
"When you enter the with block, `__enter__` is called and the result is assigned to the `as` target, if there is one. Then when you leave the block, `__exit__` is called. If you leave via an exception, `__exit__` gets special arguments that let you even decide what to do based on that the exception is - or even handle the exception and continue. `contextlib` has several simple context managers, like `redirect_stdout`, `redirect_stderr`, and `suppress`:"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/2.5 Static Typing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
"\n",
"\n",
"class Duck(Protocol):\n",
" def quack() -> str:\n",
" def quack(self) -> str:\n",
" ..."
]
},
Expand Down

0 comments on commit f0b4605

Please sign in to comment.