From 3171887d954ca4cb3365ee38da0f7fe08cc6aac7 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 7 Aug 2022 00:43:38 -0400 Subject: [PATCH 1/3] gh-75500: Add idlelib section to IDLE doc --- 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 f2ef72d682bd28..81e0182e10bef8 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 ac386122cc71ec..af5cbd5a5ba4c3 100644 --- a/Lib/idlelib/help.html +++ b/Lib/idlelib/help.html @@ -113,6 +113,7 @@

Table of Contents

  • Setting preferences
  • IDLE on macOS
  • Extensions
  • +
  • idlelib
  • @@ -1001,6 +1002,17 @@

    Extensions +

    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 @@

    Table of Contents

  • Setting preferences
  • IDLE on macOS
  • Extensions
  • +
  • idlelib
  • @@ -1153,7 +1166,7 @@

    Navigation



    - Last updated on Aug 05, 2022. + Last updated on Aug 07, 2022. Found a bug?
    From 32dc8610212e5bb409ba0a18ef20315e0eb4422b Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 3 Sep 2022 01:24:48 -0400 Subject: [PATCH 2/3] Update help.html --- Lib/idlelib/help.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Lib/idlelib/help.html b/Lib/idlelib/help.html index af5cbd5a5ba4c3..722406b81a8ae6 100644 --- a/Lib/idlelib/help.html +++ b/Lib/idlelib/help.html @@ -113,9 +113,9 @@

    Table of Contents

  • Setting preferences
  • IDLE on macOS
  • Extensions
  • -
  • idlelib
  • +
  • idlelib
  • @@ -1002,18 +1002,19 @@

    Extensions -

    idlelib

    +

    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 Lib/idlelib package implements the IDLE application. See the rest +of this page 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).

    - @@ -1066,9 +1067,9 @@

    Table of Contents

  • Setting preferences
  • IDLE on macOS
  • Extensions
  • -
  • idlelib
  • +
  • idlelib
  • @@ -1166,7 +1167,7 @@

    Navigation



    - Last updated on Aug 07, 2022. + Last updated on Sep 03, 2022. Found a bug?
    From ffae06569f03d6259f010b179796b88ca6316078 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 3 Sep 2022 01:30:35 -0400 Subject: [PATCH 3/3] Add back deleted line --- Doc/library/idle.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index a8642ae6ea7a1a..3058bcead661f3 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -989,6 +989,7 @@ idlelib ------- .. module:: idlelib + :synopsis: Implementation package for the IDLE shell/editor. **Source code:** :source:`Lib/idlelib`