[Python-checkins] r80168 - in python/branches/release26-maint: Doc/howto/descriptor.rst

georg.brandl python-checkins at python.org
Sun Apr 18 11:31:55 CEST 2010


Author: georg.brandl
Date: Sun Apr 18 11:31:55 2010
New Revision: 80168

Log:
Merged revisions 80030 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line
  
  Get rid of multi-row cells.
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Doc/howto/descriptor.rst

Modified: python/branches/release26-maint/Doc/howto/descriptor.rst
==============================================================================
--- python/branches/release26-maint/Doc/howto/descriptor.rst	(original)
+++ python/branches/release26-maint/Doc/howto/descriptor.rst	Sun Apr 18 11:31:55 2010
@@ -323,16 +323,16 @@
 
 This chart summarizes the binding and its two most useful variants:
 
-      +-----------------+--------------+----------------------+------------------+
-      | Transformation  |              | Called from an       | Called from a    |
-      |                 |              | Object               | Class            |
-      +=================+==============+======================+==================+
-      |                 | function     | f(obj, \*args)       | f(\*args)        |
-      +                 +--------------+----------------------+------------------+
-      | Descriptor      | staticmethod | f(\*args)            | f(\*args)        |
-      +                 +--------------+----------------------+------------------+
-      |                 | classmethod  | f(type(obj), \*args) | f(klass, \*args) |
-      +-----------------+--------------+----------------------+------------------+
+      +-----------------+----------------------+------------------+
+      | Transformation  | Called from an       | Called from a    |
+      |                 | Object               | Class            |
+      +=================+======================+==================+
+      | function        | f(obj, \*args)       | f(\*args)        |
+      +-----------------+----------------------+------------------+
+      | staticmethod    | f(\*args)            | f(\*args)        |
+      +-----------------+----------------------+------------------+
+      | classmethod     | f(type(obj), \*args) | f(klass, \*args) |
+      +-----------------+----------------------+------------------+
 
 Static methods return the underlying function without changes.  Calling either
 ``c.f`` or ``C.f`` is the equivalent of a direct lookup into


More information about the Python-checkins mailing list