Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0ec296

Browse files
committed
Remove newline in method that makes it possible to copy example to the interactive interpreter.
1 parent a84d473 commit a0ec296

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Doc/tutorial/classes.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ binding::
168168
def do_global():
169169
global spam
170170
spam = "global spam"
171-
172171
spam = "test spam"
173172
do_local()
174173
print("After local assignment:", spam)

0 commit comments

Comments
 (0)