Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Change decorator args #135

Merged
merged 1 commit into from
Jul 17, 2018
Merged

Change decorator args #135

merged 1 commit into from
Jul 17, 2018

Conversation

danieldaeschle
Copy link
Contributor

func(*args):
    handler = args[0]

does the same like

func(handler):
    pass

but the last is more short.
Is there a reason why you choosed version 1?

```py
func(*args):
    handler = args[0]
```
does the same like
```py
func(handler):
    pass
```
but the last is more short.
Is there a reason why you choosed version 1?
@frnkvieira
Copy link
Member

@danieldaeschle I confess that I'm quite curious why I did that haha. Thanks!

@frnkvieira frnkvieira merged commit 51d6691 into vibora-io:master Jul 17, 2018
@danieldaeschle danieldaeschle deleted the patch-4 branch July 18, 2018 06:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants