From 70fc9641b56144854777aef29c145cd10789e3df Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Tue, 9 Aug 2022 14:34:42 -0400 Subject: gh-75500: Add idlelib section to IDLE doc (#95832) This enables accessing IDLE as 'idlelib' in the Doc Module listing. --- Doc/library/idle.rst | 17 +++++++++++++++++ Lib/idlelib/help.html | 15 ++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index f2ef72d..81e0182 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -983,3 +983,20 @@ changed with the Extensions tab of the preferences dialog. See the beginning of config-extensions.def in the idlelib directory for further information. The only current default extension is zzdummy, an example also used for testing. + +idlelib +^^^^^^^ + +.. module:: idlelib + :synopsis: Implementation package for the IDLE shell/editor. + +**Source code:** :source:`Lib/idlelib` + +The Lib/idlelib package implements the IDLE application. See the top +of this file or content listing on the left for how to use IDLE. + +The files in idlelib are described in idlelib/README.txt. Access it +either in idlelib or click Help => About IDLE on the IDLE menu. This +file also maps IDLE menu items to the code that implements the item. +Except for files listed under 'Startup', the idlelib code is 'private' in +sense that feature changes can be backported (see :pep:`434`). diff --git a/Lib/idlelib/help.html b/Lib/idlelib/help.html index ac38612..af5cbd5 100644 --- a/Lib/idlelib/help.html +++ b/Lib/idlelib/help.html @@ -113,6 +113,7 @@
  • Setting preferences
  • IDLE on macOS
  • Extensions
  • +
  • idlelib
  • @@ -1001,6 +1002,17 @@ beginning of config-extensions.def in the idlelib directory for further information. The only current default extension is zzdummy, an example also used for testing.

    +
    +

    idlelib

    +

    Source code: Lib/idlelib

    +

    The Lib/idlelib package implements the IDLE application. See the top +of this file or content listing on the left for how to use IDLE.

    +

    The files in idlelib are described in idlelib/README.txt. Access it +either in idlelib or click Help => About IDLE on the IDLE menu. This +file also maps IDLE menu items to the code that implements the item. +Except for files listed under ‘Startup’, the idlelib code is ‘private’ in +sense that feature changes can be backported (see PEP 434).

    +
    @@ -1054,6 +1066,7 @@ also used for testing.

  • Setting preferences
  • IDLE on macOS
  • Extensions
  • +
  • idlelib
  • @@ -1153,7 +1166,7 @@ also used for testing.



    - Last updated on Aug 05, 2022. + Last updated on Aug 07, 2022. Found a bug?
    -- cgit v0.12