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

Have an option for allowing positional arguments. #24

Open
tomprince opened this issue Dec 21, 2014 · 2 comments
Open

Have an option for allowing positional arguments. #24

tomprince opened this issue Dec 21, 2014 · 2 comments

Comments

@tomprince
Copy link
Contributor

This is particular useful for classes with a single attribute. See for example

https://github.com/radix/effect/blob/0.1a11/effect/__init__.py#L242-249

@hynek
Copy link
Owner

hynek commented Dec 21, 2014

I was thinking about something like that. A positional only without popping args off which would allow for faster constructors (but no cooperation with an own __init__?).

@tomprince
Copy link
Contributor Author

I don't care about speed, simply usage.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants