]> granicus.if.org Git - python/commitdiff
Get rid of multi-row cells.
authorGeorg Brandl <georg@python.org>
Tue, 13 Apr 2010 06:43:54 +0000 (06:43 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 13 Apr 2010 06:43:54 +0000 (06:43 +0000)
Doc/howto/descriptor.rst

index 3ec784023f609557b1e14178194163100ea81191..3cc437ff8bdcef8a293587c26e4c12fda61b1706 100644 (file)
@@ -323,16 +323,16 @@ becomes ``f(*args)``.
 
 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