-
-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ability to have
kw_only
attributes defined anywhere, as an optional…
… feature (#559) * Ability to disable the keyword-only order checks that forbid normal attrs after kw_only attrs * Updated typing info * Updated tests, and added a new test for the new ordering feature * Pep8 * Updated docstring * Rename to a name that reflects the usage, not the implementation * Update tests after the rename * Huge simplification: never check kw_only and non-init attributes order * No more new parameter, remove from typing info * Update tests after the simplification, and add new test
- Loading branch information
Showing
2 changed files
with
37 additions
and
43 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