mirror of
https://github.com/python/cpython.git
synced 2024-12-17 05:43:48 +08: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
@ -168,7 +168,6 @@ binding::
|
||||
def do_global():
|
||||
global spam
|
||||
spam = "global spam"
|
||||
|
||||
spam = "test spam"
|
||||
do_local()
|
||||
print("After local assignment:", spam)
|
||||
|
Loading…
Reference in New Issue
Block a user