-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PEP 747: Minor fixes in code examples (#4193)
- Added missing generic parameter for `strip_annotated_metadata` - Use the correct `typx` parameter name for `TypeForm` arguments in the `split_union` and `as_instance` / `as_type` examples. - Add `from typing import TypeForm, cast` imports to make the usage of `typing` symbols consistent
- Loading branch information
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters