Skip to content

Commit 8239a2f

Browse files
committed
Fixed docs
1 parent 4cc7c2f commit 8239a2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/psij/descriptor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ class Descriptor(object):
6868
6969
.. code-block:: python
7070
71-
from distutils.version import StrictVersion
71+
from packaging.version import Version
7272
from psij.descriptor import Descriptor
7373
7474
__PSI_J_EXECUTORS__ = [
75-
Descriptor(name=<name>, version=StrictVersion(<version_str>),
75+
Descriptor(name=<name>, version=Version(<version_str>),
7676
cls=<fqn_str>),
7777
...
7878
]
7979
8080
__PSI_J_LAUNCHERS__ = [
81-
Descriptor(name=<name>, version=StrictVersion(<version_str>),
81+
Descriptor(name=<name>, version=Version(<version_str>),
8282
cls=<fqn_str>),
8383
...
8484
]

0 commit comments

Comments
 (0)