summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-11-08 21:42:32 +0100
committerven <vendethiel@hotmail.fr>2015-11-08 21:42:32 +0100
commit596218651aea56164dd6841d0e7ce7b3ef2f47ef (patch)
treec78a007f339c04a93da2e949eed0989edb44f1f9
parent2b2a4a9ae01f8c2d318a206bcfbb453a2e8079b2 (diff)
parenta4a7b2dd8308a8d67722d8c93e4c1a8c052f7f6a (diff)
Merge pull request #1998 from TheRakken/master
[python] Fix for unintended opposite meaning
-rw-r--r--python.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 2b43c5fc..f8f712d3 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -458,7 +458,7 @@ add(y=6, x=5) # Keyword arguments can arrive in any order.
# You can define functions that take a variable number of
-# positional args, which will be interpreted as a tuple if you do not use the *
+# positional args, which will be interpreted as a tuple by using *
def varargs(*args):
return args
@@ -466,7 +466,7 @@ varargs(1, 2, 3) # => (1, 2, 3)
# You can define functions that take a variable number of
-# keyword args, as well, which will be interpreted as a dict if you do not use **
+# keyword args, as well, which will be interpreted as a dict by using **
def keyword_args(**kwargs):
return kwargs