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

[Python-Dev] Re: decorators and 2.4

[Python-Dev] Re: decorators and 2.4 [Python-Dev] Re: decorators and 2.4Jewett, Jim J jim.jewett at eds.com
Mon Jul 12 16:49:40 CEST 2004
Martin Zarate:

> So, a solution, mixing them all so that it becomes more than
> a simple list declaration:

>	as [descriptors]
>	def blah blah blah:

If you start a production with "as", then suddenly it matters more
what the line before was/whether that line had a continuation character.
For instance, the following becomes syntactically valid, though I doubt
it means what the user expects.

	import time			\
	as logged_func
	def ...

This objection does not apply to either

	[descriptors] as

or

	@[descriptors]

though the @[] format might still be in use by some user code.

-jJ

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