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/2004-August/048133.html below:

[Python-Dev] PEP 318: Can't we all just get along?

[Python-Dev] PEP 318: Can't we all just get along? [Python-Dev] PEP 318: Can't we all just get along?Scott Gilbert xscottg at yahoo.com
Fri Aug 20 02:02:04 CEST 2004
Please count a humble vote for list after def.

The following is simple:

    def foo(self, a, b) [classmethod]:
        pass

And the pathological cases can be made more readable with a little
formatting:

    def longMethodNameForEffect(
        longArgumentOne=None,
        longArgumentTwo=42
    )[
        staticmethod,
        funcattrs(
            grammar="'@' dotted_name [ '(' [arglist] ')' ]",
            status="experimental", author="BDFL"
        )
    ]:
        """This method blah, blah.

        It supports the following arguments:
        - longArgumentOne -- a string giving ...
        - longArgumentTwo -- a number giving ...

        blah, blah.

        """
        raise NotYetImplemented



Back to lurking...




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