From f0a0d14c28fe9ba9bd56a570ec681b182b26afc2 Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Wed, 27 Oct 2010 03:06:43 +0000 Subject: Issue #7061: Dropped "for Tk" from turtle module title and moved its doc section under frameworks. Also fixed a couple of markup issues that affected TOC rendering. --- Doc/library/ast.rst | 6 ++---- Doc/library/cmd.rst | 2 +- Doc/library/frameworks.rst | 1 + Doc/library/pdb.rst | 4 +--- Doc/library/sys.rst | 2 +- Doc/library/tk.rst | 1 - Doc/library/turtle.rst | 8 ++++---- 7 files changed, 10 insertions(+), 14 deletions(-) diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 5e2336f..66b29e0 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -1,7 +1,5 @@ -.. _ast: - -Abstract Syntax Trees -===================== +:mod:`ast` --- Abstract Syntax Trees +==================================== .. module:: ast :synopsis: Abstract Syntax Tree classes and manipulation. diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst index d713b8f..d0332aa 100644 --- a/Doc/library/cmd.rst +++ b/Doc/library/cmd.rst @@ -204,7 +204,7 @@ Instances of :class:`Cmd` subclasses have some public instance variables: support :program:`Emacs`\ -like line editing and command-history keystrokes.) Cmd Example -=========== +----------- .. sectionauthor:: Raymond Hettinger diff --git a/Doc/library/frameworks.rst b/Doc/library/frameworks.rst index fe632e0..15ceeec 100644 --- a/Doc/library/frameworks.rst +++ b/Doc/library/frameworks.rst @@ -13,5 +13,6 @@ The full list of modules described in this chapter is: .. toctree:: + turtle.rst cmd.rst shlex.rst diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index d613e0b..cab4569 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -1,5 +1,3 @@ -.. _debugger: - :mod:`pdb` --- The Python Debugger ================================== @@ -164,7 +162,7 @@ access further features, you have to do this yourself: .. _debugger-commands: Debugger Commands -================= +----------------- The commands recognized by the debugger are listed below. Most commands can be abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means that diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index bf8e0d0..01dad9c 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -572,7 +572,7 @@ always available. Their intended use is to allow an interactive user to import a debugger module and engage in post-mortem debugging without having to re-execute the command that caused the error. (Typical use is ``import pdb; pdb.pm()`` to enter the - post-mortem debugger; see chapter :ref:`debugger` for + post-mortem debugger; see :mod:`pdb` module for more information.) The meaning of the variables is the same as that of the return values from diff --git a/Doc/library/tk.rst b/Doc/library/tk.rst index 9cac407..95cd1c7 100644 --- a/Doc/library/tk.rst +++ b/Doc/library/tk.rst @@ -36,7 +36,6 @@ alternatives, see the :ref:`other-gui-packages` section. tkinter.ttk.rst tkinter.tix.rst tkinter.scrolledtext.rst - turtle.rst idle.rst othergui.rst diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 2e803bd..08fb7a8 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -1,9 +1,9 @@ -======================================== -:mod:`turtle` --- Turtle graphics for Tk -======================================== +================================= +:mod:`turtle` --- Turtle graphics +================================= .. module:: turtle - :synopsis: Turtle graphics for Tk + :synopsis: An educational framework for simple graphics applications .. sectionauthor:: Gregor Lingl .. testsetup:: default -- cgit v0.12