A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-July/090705.html below:

[Python-Dev] expy: an expressway to extend Python

[Python-Dev] expy: an expressway to extend Python [Python-Dev] expy: an expressway to extend PythonOleg Broytmann phd at phd.pp.ru
Tue Jul 21 20:52:03 CEST 2009
On Tue, Jul 21, 2009 at 11:22:19AM -0700, Yingjie Lan wrote:
> @function(double) #return type: double
> def sqrt(x=double): #argument x: double

   Python 3.0 has arguments and return value annotations:

http://docs.python.org/3.0/whatsnew/3.0.html#new-syntax
http://www.python.org/dev/peps/pep-3107/

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4