From 8379b70be2c0a9e3f11cdb694a8faaf5763f99ed Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 11 Jun 2018 21:25:31 -0700 Subject: [PATCH] bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning (GH-7655) (GH-7657) (cherry picked from commit 41254ebd5e4f40a2e095d8aaea60bf3973de4647) Co-authored-by: Zackery Spytz --- Lib/inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/inspect.py b/Lib/inspect.py index 8e242e82f0..288bfbbf76 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -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) -- 2.50.1