summaryrefslogtreecommitdiff
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-15 18:35:09 +0000
committerGeorg Brandl <georg@python.org>2008-08-15 18:35:09 +0000
commita174a37321aec46cbabb1f1296177cf23087bd56 (patch)
tree466f81069d1013d56dc9727340833bf32ca148a0 /Doc/reference
parent11ec65d82b2ea685fd668a0783273a0763771dbf (diff)
downloadcpython-git-a174a37321aec46cbabb1f1296177cf23087bd56.tar.gz
#3558: Attribute reference binds more tightly than subscription and call.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/expressions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 61d29df546..867074a282 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 |
+-----------------------------------------------+-------------------------------------+