Skip to content

Commit 3ed6ed4

Browse files
author
Tim Mitchell
committed
Fix docs.
1 parent 196cad6 commit 3ed6ed4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,11 @@ shown below::
375375
... def foo_float(self, bar: float):
376376
... return 'float'
377377

378-
In Python 3.6 and earlier, the ``SingleDispatch`` class uses a
378+
In Python 3.5 and earlier, the ``SingleDispatch`` class uses a
379379
meta-class ``SingleDispatchMeta`` to manage the dispatch registries.
380380
However in Python 3.6 and later the ``__init_subclass__`` method is used
381381
instead. If your class also inherits from an ABC interface you can use
382-
the ``SingleDispatchABCMeta`` metaclass in Python 3.6 and earlier.
382+
the ``SingleDispatchABCMeta`` metaclass in Python 3.5 and earlier.
383383

384384
Finally, accessing the method ``foo`` via a class will use the dispatch
385385
registry for that class::

0 commit comments

Comments
 (0)