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

[Python-Dev] Attribute strings?

[Python-Dev] Attribute strings? [Python-Dev] Attribute strings?Edward K. Ream edreamleo at charter.net
Sun Aug 8 22:58:24 CEST 2004
Has anyone suggested the following?

Create a new kind of string, _not_ a docstring, to hold annotations, etc.

"""@annotate whatever""" or even ""@" whatever"""

Pros: Open ended possibilities, might quiet dissent, could be placed before
function or inside it.

Biggest drawback: something that looks like a string will affect generated
code.

thinking-inside-the-string'ly yours,

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edreamleo at charter.net
Leo: Literate Editor with Outlines
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------



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