Skip to content

Commit

Permalink
lkpp9
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Sep 18, 2024
1 parent 442fe8e commit 0cea479
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions homeworks/9-variables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Теория

База:
- Байткод для `LOAD_FAST` и прочего: https://docs.python.org/3/library/dis.html#opcode-LOAD_FAST
- `LOAD_CLOSURE:` https://docs.python.org/3/library/dis.html#opcode-LOAD_CLOSURE
- `UnboundLocalError`: https://docs.python.org/3/library/exceptions.html#UnboundLocalError
- Rules for `global` and `local` variables: https://docs.python.org/3/faq/programming.html#what-are-the-rules-for-local-and-global-variables-in-python
- `locals`: https://docs.python.org/3/library/functions.html#locals
- `globals`: https://docs.python.org/3/library/functions.html#globals
- `Cell` objects: https://docs.python.org/3/c-api/cell.html
- Константы в Python: https://sobolevn.me/2018/07/real-python-contants
Binary file added lectures/9-variables.key
Binary file not shown.

0 comments on commit 0cea479

Please sign in to comment.