From: Georg Brandl Date: Fri, 15 Aug 2008 18:35:09 +0000 (+0000) Subject: #3558: Attribute reference binds more tightly than subscription and call. X-Git-Tag: v2.6b3~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a174a37321aec46cbabb1f1296177cf23087bd56;p=thirdparty%2FPython%2Fcpython.git #3558: Attribute reference binds more tightly than subscription and call. --- diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 61d29df54650..867074a28264 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1299,13 +1299,13 @@ groups from right to left). +-----------------------------------------------+-------------------------------------+ | ``**`` | Exponentiation | +-----------------------------------------------+-------------------------------------+ -| ``x.attribute`` | Attribute reference | -+-----------------------------------------------+-------------------------------------+ | ``x[index]`` | Subscription | +-----------------------------------------------+-------------------------------------+ | ``x[index:index]`` | Slicing | +-----------------------------------------------+-------------------------------------+ -| ``f(arguments...)`` | Function call | +| ``x(arguments...)`` | Call | ++-----------------------------------------------+-------------------------------------+ +| ``x.attribute`` | Attribute reference | +-----------------------------------------------+-------------------------------------+ | ``(expressions...)`` | Binding or tuple display | +-----------------------------------------------+-------------------------------------+