Browse Source

Parameters

pull/9/head
Jure Šorn 5 years ago
parent
commit
70e12f10be
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1029,7 +1029,7 @@ False
#### Getting the number of parameters of a function: #### Getting the number of parameters of a function:
```python ```python
from inspect import signature from inspect import signature
sig = signature(<function>)
sig = signature(<function>)
no_of_params = len(sig.parameters) no_of_params = len(sig.parameters)
``` ```

Loading…
Cancel
Save