Remove staticmethod from docs.
Can re-add this later for 3.x, but it's pretty impossible in general for 2.x. Closes #313.
This commit is contained in:
parent
f8b3441431
commit
196f76ff22
|
@ -831,8 +831,8 @@ Context Class
|
||||||
context's main thread.
|
context's main thread.
|
||||||
|
|
||||||
:param fn:
|
:param fn:
|
||||||
A free function in module scope, or a classmethod or staticmethod
|
A free function in module scope or a class method of a class
|
||||||
of a class directly reachable from module scope:
|
directly reachable from module scope:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
@ -842,10 +842,6 @@ Context Class
|
||||||
"""A free function reachable as mymodule.my_func"""
|
"""A free function reachable as mymodule.my_func"""
|
||||||
|
|
||||||
class MyClass:
|
class MyClass:
|
||||||
@staticmethod
|
|
||||||
def my_staticmethod():
|
|
||||||
"""Reachable as mymodule.MyClass.my_staticmethod"""
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def my_classmethod(cls):
|
def my_classmethod(cls):
|
||||||
"""Reachable as mymodule.MyClass.my_classmethod"""
|
"""Reachable as mymodule.MyClass.my_classmethod"""
|
||||||
|
|
Loading…
Reference in New Issue