-
Notifications
You must be signed in to change notification settings - Fork 2
use #1
Copy link
Copy link
Open
Description
Hi, may i propose an improvement to the Overload class?
Instead of using @signature("str"), i'd prefer using passing datatypes to the signature decorator: @signature(str).
This makes it possible to use this decorator for polymorphic classes, when we pass Parent Class type into signature decorator and want to accept inheriting child class as an argument's type.
Here is the improved version:
filkovsp/pythonlangutil/blob/master/pythonlangutil/overload.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels