-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use positional-only args in certain function sigs
Previously the type signatures noted for the json and msgpack modules weren't strictly accurate. The implementation only accepted positional args for certain parameters, but the signatures defined them as positional-or-keyword parameters. This PR rectifies that. Note that this is _not_ a change in behavior, this is only a change in the signatures that tools like `mypy` or `pyright` would use to check your code.
- Loading branch information
Showing
2 changed files
with
18 additions
and
12 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
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