Skip to content

Commit

Permalink
Cosmetic changes after the review remarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Lozytskyi authored and vorakl committed May 1, 2024
1 parent 886d5b4 commit 4f261b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src.docs/content/articles/py-params.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,7 @@ Summary
* The *__defaults__* attribute stores default values of positional parameters and is mutable, allowing direct assignment.
* An asterisk followed by a name (`*var`) packs positional arguments into a tuple, while a double asterisk followed by a name (`**kwvar`) packs keyword arguments into a dictionary.
* Keyword arguments always follow positional arguments, with defaults filling in omitted values.
* The use of an asterisk and a slash together could be described in the following way:
`<positional-only parameters>` / `<positional or keyword parameters>` * `<keyword-only parameters>`
* The use of an asterisk and a slash together could be described in the following way: `<positional-only parameters>` / `<positional or keyword parameters>` * `<keyword-only parameters>`.
* The *__kwdefaults__* attribute stores default values of keyword-only parameters that defined after the asterisk.

.. Links
Expand Down

0 comments on commit 4f261b2

Please sign in to comment.