You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2135,7 +2135,7 @@ UnboundLocalError: local variable 'a' referenced before assignment
2135
2135
>>> another_func()
2136
2136
2
2137
2137
```
2138
-
* The keywords `global` and `nonlocal` tell the python interpreter to not delcare new variables and look them up in the corresponding outer scopes.
2138
+
* The keywords `global` and `nonlocal` tell the python interpreter to not declare new variables and look them up in the corresponding outer scopes.
2139
2139
* 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.
2140
2140
2141
2141
---
@@ -3114,7 +3114,7 @@ Ellipsis
3114
3114
>>> ...
3115
3115
Ellipsis
3116
3116
```
3117
-
- Eliipsis can be used for several purposes,
3117
+
- Ellipsis can be used for several purposes,
3118
3118
+ As a placeholder for code that hasn't been written yet (just like `pass` statement)
3119
3119
+ In slicing syntax to represent the full slices in remaining direction
0 commit comments