Skip to content

Commit

Permalink
trivial: Remove use of kwargs
Browse files Browse the repository at this point in the history
Make use of a "sentinel" object to allow us to remove the use of kwargs
and provide a more helpful docstring. With any luck, Python will support
these objects natively in a future release [1].

[1] https://www.python.org/dev/peps/pep-0661/

Change-Id: I411c0393754c8fe8a6698f0d278b73f12209ace8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
  • Loading branch information
stephenfin committed Dec 12, 2022
1 parent 2af1d0c commit 80ee69a
Show file tree
Hide file tree
Showing 2 changed files with 278 additions and 146 deletions.

0 comments on commit 80ee69a

Please sign in to comment.