| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1687,6 +1687,9 @@ Introspection helpers | |||
| 1687 | 1687 | For a typing object of the form ``X[Y, Z, ...]`` these functions return | |
| 1688 | 1688 | ``X`` and ``(Y, Z, ...)``. If ``X`` is a generic alias for a builtin or | |
| 1689 | 1689 | :mod:`collections` class, it gets normalized to the original class. | |
| 1690 | + If ``X`` is a :class:`Union` contained in another generic type, | ||
| 1691 | + the order of ``(Y, Z, ...)`` may be different from the order of | ||
| 1692 | + the original arguments ``[Y, Z, ...]`` due to type caching. | ||
| 1690 | 1693 | For unsupported objects return ``None`` and ``()`` correspondingly. | |
| 1691 | 1694 | Examples:: | |
| 1692 | 1695 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments