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/2012-June/120439.html below:

[Python-Dev] pep 362 - 5th edition

[Python-Dev] pep 362 - 5th edition [Python-Dev] pep 362 - 5th editionYury Selivanov yselivanov at gmail.com
Wed Jun 20 03:29:29 CEST 2012
On 2012-06-19, at 9:22 PM, Yury Selivanov wrote:

> On 2012-06-19, at 8:39 PM, Nick Coghlan wrote:
> 
>> 2. The constructor for Parameter objects should require that names for
>> positional-only parameters start with "<" and end with ">" to ensure
>> they can always be distinguished from standard parameters in signature
>> string representations and in BoundArguments.parameters
> 
> +1

Actually, can we just make positional-only parameters to render brackets
in their/Signature's __str__ methods?  I think Parameter.kind should be
enough, without adding additional obstacles.

-
Yury
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