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

Get rid of multi-row cells.

üst d5c50b32
...@@ -323,16 +323,16 @@ becomes ``f(*args)``. ...@@ -323,16 +323,16 @@ becomes ``f(*args)``.
This chart summarizes the binding and its two most useful variants: This chart summarizes the binding and its two most useful variants:
+-----------------+--------------+----------------------+------------------+ +-----------------+----------------------+------------------+
| Transformation | | Called from an | Called from a | | Transformation | Called from an | Called from a |
| | | Object | Class | | | Object | Class |
+=================+==============+======================+==================+ +=================+======================+==================+
| | function | f(obj, \*args) | f(\*args) | | function | f(obj, \*args) | f(\*args) |
+ +--------------+----------------------+------------------+ +-----------------+----------------------+------------------+
| Descriptor | staticmethod | f(\*args) | f(\*args) | | staticmethod | f(\*args) | f(\*args) |
+ +--------------+----------------------+------------------+ +-----------------+----------------------+------------------+
| | classmethod | f(type(obj), \*args) | f(klass, \*args) | | classmethod | f(type(obj), \*args) | f(klass, \*args) |
+-----------------+--------------+----------------------+------------------+ +-----------------+----------------------+------------------+
Static methods return the underlying function without changes. Calling either Static methods return the underlying function without changes. Calling either
``c.f`` or ``C.f`` is the equivalent of a direct lookup into ``c.f`` or ``C.f`` is the equivalent of a direct lookup into
......
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