mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning (GH-7655)
This commit is contained in:
parent
378edcd000
commit
41254ebd5e
1 changed files with 1 additions and 1 deletions
|
@ -1220,7 +1220,7 @@ def formatargspec(args, varargs=None, varkw=None, defaults=None,
|
|||
from warnings import warn
|
||||
|
||||
warn("`formatargspec` is deprecated since Python 3.5. Use `signature` and "
|
||||
" the `Signature` object directly",
|
||||
"the `Signature` object directly",
|
||||
DeprecationWarning,
|
||||
stacklevel=2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue