mirror of https://github.com/python/cpython
#3558: Attribute reference binds more tightly than subscription and call.
This commit is contained in:
parent
11ec65d82b
commit
a174a37321
|
@ -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 |
|
||||
+-----------------------------------------------+-------------------------------------+
|
||||
|
|
Loading…
Reference in New Issue