mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
gh-130164: Fix inspect.Signature.bind() handling of positional-only args without defaults (GH-130192)
Follow-up to 9c15202.
This commit is contained in:
parent
01ba7df499
commit
dab456dcef
3 changed files with 12 additions and 2 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Fixed failure to raise :exc:`TypeError` in :meth:`inspect.Signature.bind`
|
||||
for positional-only arguments provided by keyword when a variadic keyword
|
||||
argument (e.g. ``**kwargs``) is present.
|
||||
Loading…
Add table
Add a link
Reference in a new issue