Comment

Comment by dnu

Well, regarding yout API example, Python 3 introduces function annotations which let you specify the types of the parameters and of the return value. These types are not checked by the interpreter, leaving this job to the programmer (or framework).

http://www.python.org/dev/peps/pep-3107/

parent dnu 13 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton