summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
diff options
context:
space:
mode:
authorSteven Basart <xksteven@users.noreply.github.com>2014-07-13 14:45:14 -0400
committerSteven Basart <xksteven@users.noreply.github.com>2014-07-13 14:45:14 -0400
commit42c93bf407d91cdb549ef5053c3db7f4a58bcd7e (patch)
treedad69841f6996aab722dfa50536747f8a535d554 /python3.html.markdown
parentbdbff25c5850e41552e5fc517c99fe3933dc591c (diff)
[python3/en] added int div, modulo, and scoping
Added integer or truncation division, the modulo operator which were missing from operators section. Added function scoping in the functions section.
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)