bpo-33582: Remove duplicate space in inspect.formatargspec() deprecat… · python/cpython@8379b70 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 8379b70

miss-islingtonZackerySpytz

authored and

committed

bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning (GH-7655) (GH-7657)

(cherry picked from commit 41254eb) Co-authored-by: Zackery Spytz zspytz@gmail.com

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -1220,7 +1220,7 @@ def formatargspec(args, varargs=None, varkw=None, defaults=None,
1220 1220 from warnings import warn
1221 1221
1222 1222 warn("`formatargspec` is deprecated since Python 3.5. Use `signature` and "
1223 -" the `Signature` object directly",
1223 +"the `Signature` object directly",
1224 1224 DeprecationWarning,
1225 1225 stacklevel=2)
1226 1226