diff options
| author | Pratik Karki <predatoramigo@gmail.com> | 2018-02-28 18:53:15 +0545 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-28 18:53:15 +0545 | 
| commit | 1e88ceb05ae15a2703511b489aa54298cbb85cc5 (patch) | |
| tree | 2cc6f13423b73d65f70c670fd4402a52dc14dc13 | |
| parent | eefc0a9c92f44655fd177920c9f1d40816afa119 (diff) | |
| parent | 213019c689323af7f5c531fb156c34abe8771960 (diff) | |
Merge pull request #3057 from ebzzry/fix-typo
[python3/en]: fix typo
| -rw-r--r-- | python3.html.markdown | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/python3.html.markdown b/python3.html.markdown index 153384de..b0f04a02 100644 --- a/python3.html.markdown +++ b/python3.html.markdown @@ -6,6 +6,7 @@ contributors:      - ["Andre Polykanine", "https://github.com/Oire"]      - ["Zachary Ferguson", "http://github.com/zfergus2"]      - ["evuez", "http://github.com/evuez"] +    - ["Rommel Martinez", "https://ebzzry.io"]  filename: learnpython3.py  --- @@ -546,9 +547,9 @@ all_the_args(1, 2, a=3, b=4) prints:  # Use * to expand tuples and use ** to expand kwargs.  args = (1, 2, 3, 4)  kwargs = {"a": 3, "b": 4} -all_the_args(*args)            # equivalent to foo(1, 2, 3, 4) -all_the_args(**kwargs)         # equivalent to foo(a=3, b=4) -all_the_args(*args, **kwargs)  # equivalent to foo(1, 2, 3, 4, a=3, b=4) +all_the_args(*args)            # equivalent to all_the_args(1, 2, 3, 4) +all_the_args(**kwargs)         # equivalent to all_the_args(a=3, b=4) +all_the_args(*args, **kwargs)  # equivalent to all_the_args(1, 2, 3, 4, a=3, b=4)  # Returning multiple values (with tuple assignments)  def swap(x, y): | 
