Skip to content

Commit

Permalink
lang: Fix docstring section ordering.
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Mar 19, 2018
1 parent 1452062 commit 33ffdec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytool/lang.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ def hashed_singleton(klass):
This will not work for classes that take arguments that are unhashable
(e.g. dicts, sets).
:param klass: Class to decorate
.. versionadded:: 2.1
.. versionchanged:: 3.4.2
Expand All @@ -163,8 +165,6 @@ def hashed_singleton(klass):
`@staticmethod` functions on the class type as well as the
instance.
:param klass: Class to decorate
Example usage::
# Make a class directly behave as a hashed singleton
Expand Down

0 comments on commit 33ffdec

Please sign in to comment.