Skip to content

Commit 99280f5

Browse files
authored
Merge pull request satwikkansal#159 from boppreh/patch-1
Update README.md
2 parents 7c85a73 + e4f3402 commit 99280f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3393,7 +3393,7 @@ Let's increase the number of iterations by a factor of 10.
33933393
```py
33943394
>>> some_string = "wtfpython"
33953395
>>> f'{some_string=}'
3396-
"string='wtfpython'"
3396+
"some_string='wtfpython'"
33973397
```
33983398
33993399
* Python uses 2 bytes for local variable storage in functions. In theory, this means that only 65536 variables can be defined in a function. However, python has a handy solution built in that can be used to store more than 2^16 variable names. The following code demonstrates what happens in the stack when more than 65536 local variables are defined (Warning: This code prints around 2^18 lines of text, so be prepared!):

0 commit comments

Comments
 (0)