]> granicus.if.org Git - python/commitdiff
bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Jun 2018 04:25:31 +0000 (21:25 -0700)
committerNed Deily <nad@python.org>
Tue, 12 Jun 2018 04:25:31 +0000 (00:25 -0400)
(cherry picked from commit 41254ebd5e4f40a2e095d8aaea60bf3973de4647)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Lib/inspect.py

index 8e242e82f00e6c15ec6d6f37f38c0c6cdf0b24c9..288bfbbf76bf49453ba252d1f530a550a7a9e275 100644 (file)
@@ -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)