chiphuyen / chiphuyen/python-is-cool

forced named arguements

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
3.7k
Forks
568
PR merge metrics
No merged PRs in 30d

Description

Will it be cool to add forced-named arguments to this list?

```python
def foo(pos, *, forcenamed):
print(pos, forcenamed)
```
```python
>>> foo(pos=10, forcenamed=20)
10 20
```
```python
>>> foo(10, forcenamed=20)
10 20
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.