summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorAayush Ranaut <aayush.ranaut@gmail.com>2015-10-31 22:20:51 +0530
committerAayush Ranaut <aayush.ranaut@gmail.com>2015-10-31 22:20:51 +0530
commit0049a475edba88f6537b2490ca9506df23b46368 (patch)
treeb5e10a3e5b73839acd2b786cdab77cc3ee7a23ac /python.html.markdown
parent7d8bab656f154d4a58905fa4f0063b3e3824d4cf (diff)
Removed confusing comments
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 5572e38e..abc461a2 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -404,7 +404,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
def varargs(*args):
return args
@@ -412,7 +412,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
def keyword_args(**kwargs):
return kwargs