From a174a37321aec46cbabb1f1296177cf23087bd56 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 15 Aug 2008 18:35:09 +0000 Subject: [PATCH] #3558: Attribute reference binds more tightly than subscription and call. --- Doc/reference/expressions.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 61d29df5465..867074a2826 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 | +-----------------------------------------------+-------------------------------------+