diff --git a/README.md b/README.md index 2e3342e..eb47db9 100644 --- a/README.md +++ b/README.md @@ -716,7 +716,7 @@ func(1, 2, z=3) ``` #### Allowed compositions of arguments inside function definition and the ways they can be called: -```python +```text +--------------------+------------+--------------+----------------+------------------+ | | f(1, 2, 3) | f(1, 2, z=3) | f(1, y=2, z=3) | f(x=1, y=2, z=3) | +--------------------+------------+--------------+----------------+------------------+ diff --git a/index.html b/index.html index a0dbf77..f280ede 100644 --- a/index.html +++ b/index.html @@ -630,8 +630,8 @@ func(*args, **kwargs) -
┏━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━┓
-┃ │ f(1, 2, 3) │ f(1, 2, z=3) │ f(1, y=2, z=3) │ f(x=1, y=2, z=3) ┃
+Allowed compositions of arguments inside function definition and the ways they can be called:
┏━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━┓
+┃ │ f(1, 2, 3) │ f(1, 2, z=3) │ f(1, y=2, z=3) │ f(x=1, y=2, z=3) ┃
┠────────────────────┼────────────┼──────────────┼────────────────┼──────────────────┨
┃ f(x, *args, **kw): │ ✓ │ ✓ │ ✓ │ ✓ ┃
┃ f(*args, z, **kw): │ │ ✓ │ ✓ │ ✓ ┃