]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#3558: Attribute reference binds more tightly than subscription and call.
authorGeorg Brandl <georg@python.org>
Fri, 15 Aug 2008 18:35:09 +0000 (18:35 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 15 Aug 2008 18:35:09 +0000 (18:35 +0000)
Doc/reference/expressions.rst

index 61d29df54650b370329ab91ded14e67be41c95f6..867074a28264809cbd2f1b8ca92c1bbedfe3a64b 100644 (file)
@@ -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            |
 +-----------------------------------------------+-------------------------------------+