> @abstract
> def range(*args:3):
> ...
>
> then that would be best. I propose, therefore, that we require an
> integer annotation on the *args to enable positional dispatching.
I thought there was already a proposal to do something like this:
@abstract
def range(x, y, z, *):
...
So there was a specific flag that there are no more positional
arguments. Even in an abstract function definition they would at least
be labeled, which is a good thing.
Joel
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com