Browse Source

Introspection

pull/10/head
Jure Šorn 6 years ago
parent
commit
00f41cb474
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1053,7 +1053,7 @@ Introspection and Metaprograming
### Variables ### Variables
```python ```python
<list> = dir() # Names of in-scope variables. <list> = dir() # Names of in-scope variables.
<dict> = locals() # Dict of local variables, same as vars().
<dict> = locals() # Dict of local variables. Also vars().
<dict> = globals() # Dict of global variables. <dict> = globals() # Dict of global variables.
``` ```

Loading…
Cancel
Save