Skip to content

Commit

Permalink
Merge pull request satwikkansal#254 from umutambyi-gad/master
Browse files Browse the repository at this point in the history
πŸ“ Fixed simple typos
  • Loading branch information
satwikkansal authored Feb 14, 2021
2 parents 48256e1 + 9d0ad9e commit 70c03e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2135,7 +2135,7 @@ UnboundLocalError: local variable 'a' referenced before assignment
>>> another_func()
2
```
* The keywords `global` and `nonlocal` tell the python interpreter to not delcare new variables and look them up in the corresponding outer scopes.
* The keywords `global` and `nonlocal` tell the python interpreter to not declare new variables and look them up in the corresponding outer scopes.
* Read [this](https://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html) short but an awesome guide to learn more about how namespaces and scope resolution works in Python.

---
Expand Down Expand Up @@ -3114,7 +3114,7 @@ Ellipsis
>>> ...
Ellipsis
```
- Eliipsis can be used for several purposes,
- Ellipsis can be used for several purposes,
+ As a placeholder for code that hasn't been written yet (just like `pass` statement)
+ In slicing syntax to represent the full slices in remaining direction
```py
Expand Down

0 comments on commit 70c03e9

Please sign in to comment.