Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cosmetic edit
Use command form like in docstrings
  • Loading branch information
merwok authored Oct 12, 2017
commit 9b806c146712c7e05ffcf49138461e73df3e2d76
4 changes: 2 additions & 2 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ are always available. They are listed here in alphabetical order.

.. decorator:: classmethod

Transforms a method into a class method.
Transform a method into a class method.

A class method receives the class as implicit first argument, just like an
instance method receives the instance. To declare a class method, use this
Expand Down Expand Up @@ -1400,7 +1400,7 @@ are always available. They are listed here in alphabetical order.

.. decorator:: staticmethod

Transforms a method into a static method.
Transform a method into a static method.

A static method does not receive an implicit first argument. To declare a static
method, use this idiom::
Expand Down