A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-January/050987.html below:

[Python-Dev] Son of PEP 246, redux

[Python-Dev] Son of PEP 246, redux [Python-Dev] Son of PEP 246, reduxNick Coghlan ncoghlan at iinet.net.au
Thu Jan 13 13:18:27 CET 2005
Michael Walter wrote:
> Yepyep, but *how* you declare types now? Can you quickly type the function
> def f(x): x.read()? without needing an interface interface x_of_f: def
> read(): pass or a decorator like @foo(x.read)? I've no idea what you
> mean, really :o)

Why would something like

   def f(x):
     x.read()

do any type checking at all?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net
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