Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dataclasses: Avoid using private class
typing.get_origin() does what we need here, without reaching into typing internals. This shouldn't change any behavior (so I am going to skip news), but it sets a good example for other users introspecting typing objects.
- Loading branch information