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/047251.html below:

[Python-Dev] Suggesting '.' decorators (PEP318)

[Python-Dev] Suggesting '.' decorators (PEP318) [Python-Dev] Suggesting '.' decorators (PEP318)Heiko Wundram heikowu at ceosg.de
Sat Aug 7 11:28:56 CEST 2004
Am Samstag, 7. August 2004 06:55 schrieb Kevin J. Butler:
> The following makes sense to me, uses previously invalid syntax, and
> uses the '.' punctuation in a way similar to existing/proposed usage:
>
>        def longMethodNameForEffect(longArgumentOne=None,
>                                    longArgumentTwo=42):
>            .staticmethod
>            .funcattrs(grammar="'@' dotted_name [ '(' [arglist] ')' ]",
>                       status="experimental", author="BDFL")
>            """
>            asdfasdf
>            """
>            raise NotYetImplemented

-1

Same objection from me as to the proposal of decorating with | in the 
function: it simply takes away the actual meaning from the decorator (which 
actually is to make it very clear to see that the function is special in some 
way).

Heiko.
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