[Python-checkins] bpo-33582: Remove duplicate space in inspect.formatargspec() deprecation warning (GH-7655)

Ned Deily webhook-mailer at python.org
Mon Jun 11 23:16:21 EDT 2018


https://github.com/python/cpython/commit/41254ebd5e4f40a2e095d8aaea60bf3973de4647
commit: 41254ebd5e4f40a2e095d8aaea60bf3973de4647
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: Ned Deily <nad at python.org>
date: 2018-06-11T23:16:18-04:00
summary:

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

files:
M Lib/inspect.py

diff --git a/Lib/inspect.py b/Lib/inspect.py
index 238a36821c73..717518614fc6 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)
 



More information about the Python-checkins mailing list