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

[Python-Dev] ',' precedence in documentation]

[Python-Dev] ',' precedence in documentation]Nick Coghlan ncoghlan at gmail.com
Mon Sep 15 11:37:54 CEST 2008
Fredrik Lundh wrote:
> Christopher Lee wrote:
>> Can anyone show us "where it is written" in the Python docs that "in"
>> has higher precedence than comma, *and* why there is a good reason
>> that this information should NOT be included in the precedence table?
> 
> because comma is not an operator?  if we were to list everything that
> was not an operator in the precedence table, it would end up being very
> long and mostly pointless.

While it may not make sense to list it in the table itself, having a
note on that page that comma is NOT an operator (unlike C), and hence
only permitted between expressions as part of another statement or
expressions that permits it may not be a bad idea.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
            http://www.boredomandlaziness.org
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