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/2003-January/032450.html below:

[Python-Dev] Extended Function syntax

[Python-Dev] Extended Function syntax [Python-Dev] Extended Function syntaxBarry A. Warsaw barry@python.org
Mon, 27 Jan 2003 11:03:41 -0500
>>>>> "OT" == Oren Tirosh <oren-py-d@hishome.net> writes:

    OT> The statement "def foo(...):" is just a shortcut for the
    OT> assignment "foo=new.function(CODE, GLOBS, 'foo')". So why not
    OT> make "def foo.bar(...):" a shortcut for
    OT> "foo.bar=new.function(CODE, GLOBS, 'foo.bar')" ?

    OT> If the attributes of a property object are made assignable the
    OT> following code will work:

+1
-Barry



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