]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-130195: Fix typo in warning message (#130254)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Thu, 24 Apr 2025 14:06:12 +0000 (15:06 +0100)
committerGitHub <noreply@github.com>
Thu, 24 Apr 2025 14:06:12 +0000 (17:06 +0300)
Co-authored-by: Éric <merwok@netwok.org>
Misc/NEWS.d/next/Tools-Demos/2025-02-16-19-00-00.gh-issue-130195.19274.rst [new file with mode: 0644]
Tools/i18n/pygettext.py

diff --git a/Misc/NEWS.d/next/Tools-Demos/2025-02-16-19-00-00.gh-issue-130195.19274.rst b/Misc/NEWS.d/next/Tools-Demos/2025-02-16-19-00-00.gh-issue-130195.19274.rst
new file mode 100644 (file)
index 0000000..814f909
--- /dev/null
@@ -0,0 +1 @@
+Add warning messages when :program:`pygettext` unimplemented ``-a/--extract-all`` option is called.
index 351b47a160e999d88d7481e7750af9f019000f4d..f46b05067d7fde84a6dee4e76898307ebe7ccb29 100755 (executable)
@@ -727,7 +727,7 @@ def main():
         if opt in ('-h', '--help'):
             usage(0)
         elif opt in ('-a', '--extract-all'):
-            print("DepreciationWarning: -a/--extract-all is not implemented and will be removed in a future version",
+            print("DeprecationWarning: -a/--extract-all is not implemented and will be removed in a future version",
                   file=sys.stderr)
             options.extractall = 1
         elif opt in ('-c', '--add-comments'):