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

[Python-Dev] Extended Function syntax

[Python-Dev] Extended Function syntax [Python-Dev] Extended Function syntaxBarry A. Warsaw barry@python.org
Sun, 26 Jan 2003 23:46:54 -0500
>>>>> "GE" == Greg Ewing <greg@cosc.canterbury.ac.nz> writes:

    GE> Whatever the mechanism, here's my current thoughts
    GE> on a property syntax:

    |   def foo.get(self):
    |     ...

    |   def foo.set(self, x):
    |     ...

    |   def foo.del(self):
    |     ...

Interesting.  I've always wanted to be able to write...

class Foo:
    ...

def Foo.baz(self, a, b, c):
    ...

-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