@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.13\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-04-21 15:56 +0000\n "
14+ "POT-Creation-Date : 2026-05-05 16:45 +0000\n "
1515"PO-Revision-Date : 2025-09-15 01:04+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n "
@@ -554,64 +554,70 @@ msgstr ""
554554
555555#: ../../library/calendar.rst:542
556556msgid ""
557- "A subclass of :exc:`ValueError`, raised when the given month number is "
558- "outside of the range 1-12 (inclusive)."
557+ "A subclass of :exc:`ValueError` and :exc:`IndexError` , raised when the given"
558+ " month number is outside of the range 1-12 (inclusive)."
559559msgstr ""
560560
561- #: ../../library/calendar.rst:547
562- msgid "The invalid month number."
561+ #: ../../library/calendar.rst:545
562+ msgid ""
563+ ":exc:`IllegalMonthError` is now also a subclass of :exc:`ValueError`. New "
564+ "code should avoid catching :exc:`IndexError`."
563565msgstr ""
564566
565567#: ../../library/calendar.rst:552
568+ msgid "The invalid month number."
569+ msgstr ""
570+
571+ #: ../../library/calendar.rst:557
566572msgid ""
567573"A subclass of :exc:`ValueError`, raised when the given weekday number is "
568574"outside of the range 0-6 (inclusive)."
569575msgstr ""
570576
571- #: ../../library/calendar.rst:557
577+ #: ../../library/calendar.rst:562
572578msgid "The invalid weekday number."
573579msgstr ""
574580
575- #: ../../library/calendar.rst:562
581+ #: ../../library/calendar.rst:567
576582msgid "Module :mod:`datetime`"
577583msgstr ""
578584
579- #: ../../library/calendar.rst:563
585+ #: ../../library/calendar.rst:568
580586msgid ""
581587"Object-oriented interface to dates and times with similar functionality to "
582588"the :mod:`time` module."
583589msgstr ""
584590
585- #: ../../library/calendar.rst:566
591+ #: ../../library/calendar.rst:571
586592msgid "Module :mod:`time`"
587593msgstr ""
588594
589- #: ../../library/calendar.rst:567
595+ #: ../../library/calendar.rst:572
590596msgid "Low-level time related functions."
591597msgstr ""
592598
593- #: ../../library/calendar.rst:573
599+ #: ../../library/calendar.rst:578
594600msgid "Command-Line Usage"
595601msgstr ""
596602
597- #: ../../library/calendar.rst:577
603+ #: ../../library/calendar.rst:582
598604msgid ""
599605"The :mod:`calendar` module can be executed as a script from the command line"
600606" to interactively print a calendar."
601607msgstr ""
602608
603- #: ../../library/calendar.rst:580
609+ #: ../../library/calendar.rst:585
604610msgid ""
605611"python -m calendar [-h] [-L LOCALE] [-e ENCODING] [-t {text,html}]\n"
606612" [-w WIDTH] [-l LINES] [-s SPACING] [-m MONTHS] [-c CSS]\n"
607613" [-f FIRST_WEEKDAY] [year] [month]"
608614msgstr ""
609615
610- #: ../../library/calendar.rst:587
616+ #: ../../library/calendar.rst:592
611617msgid "For example, to print a calendar for the year 2000:"
612618msgstr ""
613619
614- #: ../../library/calendar.rst:589
620+ #: ../../library/calendar.rst:594
615621msgid ""
616622"$ python -m calendar 2000\n"
617623" 2000\n"
@@ -652,76 +658,76 @@ msgid ""
652658"30 31"
653659msgstr ""
654660
655- #: ../../library/calendar.rst:630
661+ #: ../../library/calendar.rst:635
656662msgid "The following options are accepted:"
657663msgstr ""
658664
659- #: ../../library/calendar.rst:637
665+ #: ../../library/calendar.rst:642
660666msgid "Show the help message and exit."
661667msgstr ""
662668
663- #: ../../library/calendar.rst:642
669+ #: ../../library/calendar.rst:647
664670msgid "The locale to use for month and weekday names. Defaults to English."
665671msgstr ""
666672
667- #: ../../library/calendar.rst:648
673+ #: ../../library/calendar.rst:653
668674msgid ""
669675"The encoding to use for output. :option:`--encoding` is required if "
670676":option:`--locale` is set."
671677msgstr ""
672678
673- #: ../../library/calendar.rst:654
679+ #: ../../library/calendar.rst:659
674680msgid "Print the calendar to the terminal as text, or as an HTML document."
675681msgstr ""
676682
677- #: ../../library/calendar.rst:660
683+ #: ../../library/calendar.rst:665
678684msgid ""
679685"The weekday to start each week. Must be a number between 0 (Monday) and 6 "
680686"(Sunday). Defaults to 0."
681687msgstr ""
682688
683- #: ../../library/calendar.rst:668
689+ #: ../../library/calendar.rst:673
684690msgid "The year to print the calendar for. Defaults to the current year."
685691msgstr ""
686692
687- #: ../../library/calendar.rst:674
693+ #: ../../library/calendar.rst:679
688694msgid ""
689695"The month of the specified :option:`year` to print the calendar for. Must be"
690696" a number between 1 and 12, and may only be used in text mode. Defaults to "
691697"printing a calendar for the full year."
692698msgstr ""
693699
694- #: ../../library/calendar.rst:680
700+ #: ../../library/calendar.rst:685
695701msgid "*Text-mode options:*"
696702msgstr ""
697703
698- #: ../../library/calendar.rst:684
704+ #: ../../library/calendar.rst:689
699705msgid ""
700706"The width of the date column in terminal columns. The date is printed "
701707"centred in the column. Any value lower than 2 is ignored. Defaults to 2."
702708msgstr ""
703709
704- #: ../../library/calendar.rst:692
710+ #: ../../library/calendar.rst:697
705711msgid ""
706712"The number of lines for each week in terminal rows. The date is printed top-"
707713"aligned. Any value lower than 1 is ignored. Defaults to 1."
708714msgstr ""
709715
710- #: ../../library/calendar.rst:700
716+ #: ../../library/calendar.rst:705
711717msgid ""
712718"The space between months in columns. Any value lower than 2 is ignored. "
713719"Defaults to 6."
714720msgstr ""
715721
716- #: ../../library/calendar.rst:707
722+ #: ../../library/calendar.rst:712
717723msgid "The number of months printed per row. Defaults to 3."
718724msgstr ""
719725
720- #: ../../library/calendar.rst:711
726+ #: ../../library/calendar.rst:716
721727msgid "*HTML-mode options:*"
722728msgstr ""
723729
724- #: ../../library/calendar.rst:715
730+ #: ../../library/calendar.rst:720
725731msgid ""
726732"The path of a CSS stylesheet to use for the calendar. This must either be "
727733"relative to the generated HTML, or an absolute HTTP or ``file:///`` URL."
0 commit comments