#3558: Attribute reference binds more tightly than subscription and call.

This commit is contained in:
Georg Brandl 2008-08-15 18:35:09 +00:00
parent 11ec65d82b
commit a174a37321
1 changed files with 3 additions and 3 deletions

View File

@ -1299,13 +1299,13 @@ groups from right to left).
+-----------------------------------------------+-------------------------------------+ +-----------------------------------------------+-------------------------------------+
| ``**`` | Exponentiation | | ``**`` | Exponentiation |
+-----------------------------------------------+-------------------------------------+ +-----------------------------------------------+-------------------------------------+
| ``x.attribute`` | Attribute reference |
+-----------------------------------------------+-------------------------------------+
| ``x[index]`` | Subscription | | ``x[index]`` | Subscription |
+-----------------------------------------------+-------------------------------------+ +-----------------------------------------------+-------------------------------------+
| ``x[index:index]`` | Slicing | | ``x[index:index]`` | Slicing |
+-----------------------------------------------+-------------------------------------+ +-----------------------------------------------+-------------------------------------+
| ``f(arguments...)`` | Function call | | ``x(arguments...)`` | Call |
+-----------------------------------------------+-------------------------------------+
| ``x.attribute`` | Attribute reference |
+-----------------------------------------------+-------------------------------------+ +-----------------------------------------------+-------------------------------------+
| ``(expressions...)`` | Binding or tuple display | | ``(expressions...)`` | Binding or tuple display |
+-----------------------------------------------+-------------------------------------+ +-----------------------------------------------+-------------------------------------+