| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bd71a43 commit d4b9edd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -903,7 +903,7 @@ These are not used in annotations. They are building blocks for creating generic | |||
| 903 | 903 | Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. | |
| 904 | 904 | This raises :exc:`TypeError` when applied to a non-protocol class. This | |
| 905 | 905 | allows a simple-minded structural check, very similar to "one trick ponies" | |
| 906 | - in :mod:`collections.abc` such as :class:`Iterable`. For example:: | ||
| 906 | + in :mod:`collections.abc` such as :class:`~collections.abc.Iterable`. For example:: | ||
| 907 | 907 | ||
| 908 | 908 | @runtime_checkable | |
| 909 | 909 | class Closable(Protocol): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments