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/2001-June/015289.html below:

could int, str, tuple etc. become type objects?

[Python-Dev] quick poll: could int, str, tuple etc. become type objects?Barry A. Warsaw barry@digicool.com
Tue, 5 Jun 2001 18:45:00 -0400
>>>>> "GW" == Greg Ward <gward@python.net> writes:

    GW> I love /F's suggestion

    GW>   dict(k=v, k=v, ...)

One problem with this syntax is that the `k's can only be valid Python
identifiers, so you'd at least need /some/ other syntax to support
construction with arbitrary hashable keys.

-Barry



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