[Python-checkins] r65693 - python/trunk/Doc/reference/expressions.rst

georg.brandl python-checkins at python.org
Fri Aug 15 20:35:09 CEST 2008


Author: georg.brandl
Date: Fri Aug 15 20:35:09 2008
New Revision: 65693

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


Modified:
   python/trunk/Doc/reference/expressions.rst

Modified: python/trunk/Doc/reference/expressions.rst
==============================================================================
--- python/trunk/Doc/reference/expressions.rst	(original)
+++ python/trunk/Doc/reference/expressions.rst	Fri Aug 15 20:35:09 2008
@@ -1299,13 +1299,13 @@
 +-----------------------------------------------+-------------------------------------+
 | ``**``                                        | 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            |
 +-----------------------------------------------+-------------------------------------+


More information about the Python-checkins mailing list