]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Remove limit in calendar CLI help message for year arg (GH-114719) (GH-114723)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jan 2024 16:41:45 +0000 (17:41 +0100)
committerGitHub <noreply@github.com>
Mon, 29 Jan 2024 16:41:45 +0000 (16:41 +0000)
The limit was removed in 66c88ce30ca2b23daa37038e1a3c0de98f241f50 (GH-4109).
(cherry picked from commit 0f54ee4c6cdba74492183eb2dd142393c7dba403)

Co-authored-by: Steven Ward <planet36@users.noreply.github.com>
Lib/calendar.py

index 7cdf9311b57ce2b5f92c974f346d3e260af3c551..27a1e093620c3ca36e01e0d9d6296a7c79a2e2d8 100644 (file)
@@ -709,7 +709,7 @@ def main(args):
     parser.add_argument(
         "year",
         nargs='?', type=int,
-        help="year number (1-9999)"
+        help="year number"
     )
     parser.add_argument(
         "month",