File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -585,7 +585,7 @@ There are three forms, which can be combined.
585585.. _tut-defaultparams :
586586
587587Default Parameter Values
588- -----------------------
588+ ------------------------
589589
590590The most useful form is to specify a default value for one or more parameters.
591591This creates a function that can be called with fewer arguments than it is
@@ -771,9 +771,9 @@ parameter by how the arguments may be passed to the function:
771771positional-only, positional-or-keyword, and keyword-only. Keyword parameters
772772are also referred to as named parameters.
773773
774- -------------------------------
774+ --------------------------------
775775Positional-or-Keyword Parameters
776- -------------------------------
776+ --------------------------------
777777
778778Positional-or-keyword paremeters don't precede ``/ ``, don't follow ``* `` or ``*args ``,
779779and don't have ``* `` and ``** `` in their names as prefixes, so that arguments can
@@ -793,9 +793,9 @@ parameters.
793793
794794Parameters following the ``/ `` can be *positional-or-keyword * or *keyword-only *.
795795
796- ----------------------
796+ -----------------------
797797Keyword-Only Parameters
798- ----------------------
798+ -----------------------
799799
800800To mark parameters as *keyword-only *, indicating their arguments must be passed
801801by keyword, place parameters after an ``* `` to make them
You can’t perform that action at this time.
0 commit comments