Kaydet (Commit) a174a373 authored tarafından Georg Brandl's avatar Georg Brandl

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

üst 11ec65d8
......@@ -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 |
+-----------------------------------------------+-------------------------------------+
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment