Add preferred way to import to README
Simple addition to README that hopefully make the examples more obvious.
This commit is contained in:
parent
bb70ee3928
commit
0d900c7423
@ -35,6 +35,12 @@ All named parameters after `*` must be a keyword:
|
||||
To replicate this behaviour with the positional decorator you simply specify
|
||||
how many arguments may be passed positionally.
|
||||
|
||||
First to import the decorator we typically use:
|
||||
|
||||
.. code:: python
|
||||
|
||||
>> from positional import positional
|
||||
|
||||
Replicating the Example above:
|
||||
|
||||
.. code:: python
|
||||
|
Loading…
Reference in New Issue
Block a user