mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Remove newline in method that makes it possible to copy example to the interactive interpreter.
This commit is contained in:
parent
a84d473f02
commit
a0ec296599
1 changed files with 0 additions and 1 deletions
|
|
@ -168,7 +168,6 @@ binding::
|
||||||
def do_global():
|
def do_global():
|
||||||
global spam
|
global spam
|
||||||
spam = "global spam"
|
spam = "global spam"
|
||||||
|
|
||||||
spam = "test spam"
|
spam = "test spam"
|
||||||
do_local()
|
do_local()
|
||||||
print("After local assignment:", spam)
|
print("After local assignment:", spam)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue