In article <[email protected]>,
 Steven D'Aprano <[email protected]> wrote:

> These days, it would be relatively simple to implement pre- and post-
> condition checking using decorators, and indeed one of the motivating use-
> cases for function annotations in Python 3 is to allow such things.
> 
> http://www.python.org/dev/peps/pep-3107/
> 
> (Function annotations are perhaps the best Python feature that nobody 
> uses.)

This is awesome.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to