summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'python3.html.markdown')
-rw-r--r--python3.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index eca49862..8d9b8e77 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -426,7 +426,7 @@ def setGlobalX(num):
global x
print (x) # => 5
x = num # global var x is now set to 6
- print (x)
+ print (x) # => 6
setX(43)
setGlobalX(6)