Skip to content

Commit

Permalink
Remove a mention of Python 2. Part of #262 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mperrin committed Nov 26, 2018
1 parent 3282f2c commit 9078157
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions poppy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1222,15 +1222,15 @@ def as_decorator(cls, func=None, **kwargs):
Examples
--------
Python 2 and 3::
The desired type of the input parameter can be specified as an argument to
the decorator, or via an annotation on the function argument itself:
.. code-block:: python3
import poppy.utils
@poppy.utils.back_compatible_quantity_input(mylength=u.meter)
def myfunction(mylength):
return mylength**2
Python 3 only:
.. code-block:: python3
Expand Down

0 comments on commit 9078157

Please sign in to comment.