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/2008-January/075883.html below:

[Python-Dev] function call syntax oddity

[Python-Dev] function call syntax oddity [Python-Dev] function call syntax oddityRaymond Hettinger python at rcn.com
Fri Jan 4 23:35:06 CET 2008
[Paul Moore]
> 1 .__str__()
> This one is a number "1" followed by 
> the operator "." followed by "__str__".

FWIW, I would avoid the odd spacing and write this as:

    (1).__str__()

Raymond
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