summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-10-27 03:06:43 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-10-27 03:06:43 (GMT)
commitf0a0d14c28fe9ba9bd56a570ec681b182b26afc2 (patch)
tree095dfb5ede1d70c8878afe188624a66bbff7f723 /Doc/library
parentad158728549b7161f08ecdf74ac14a0f9eff3160 (diff)
downloadcpython-f0a0d14c28fe9ba9bd56a570ec681b182b26afc2.zip
cpython-f0a0d14c28fe9ba9bd56a570ec681b182b26afc2.tar.gz
cpython-f0a0d14c28fe9ba9bd56a570ec681b182b26afc2.tar.bz2
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.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/ast.rst6
-rw-r--r--Doc/library/cmd.rst2
-rw-r--r--Doc/library/frameworks.rst1
-rw-r--r--Doc/library/pdb.rst4
-rw-r--r--Doc/library/sys.rst2
-rw-r--r--Doc/library/tk.rst1
-rw-r--r--Doc/library/turtle.rst8
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 <python at rcn dot com>
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 <gregor.lingl@aon.at>
.. testsetup:: default