Commit f0a0d14c authored by Alexander Belopolsky's avatar Alexander Belopolsky

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.
parent ad158728
.. _ast: :mod:`ast` --- Abstract Syntax Trees
====================================
Abstract Syntax Trees
=====================
.. module:: ast .. module:: ast
:synopsis: Abstract Syntax Tree classes and manipulation. :synopsis: Abstract Syntax Tree classes and manipulation.
......
...@@ -204,7 +204,7 @@ Instances of :class:`Cmd` subclasses have some public instance variables: ...@@ -204,7 +204,7 @@ Instances of :class:`Cmd` subclasses have some public instance variables:
support :program:`Emacs`\ -like line editing and command-history keystrokes.) support :program:`Emacs`\ -like line editing and command-history keystrokes.)
Cmd Example Cmd Example
=========== -----------
.. sectionauthor:: Raymond Hettinger <python at rcn dot com> .. sectionauthor:: Raymond Hettinger <python at rcn dot com>
......
...@@ -13,5 +13,6 @@ The full list of modules described in this chapter is: ...@@ -13,5 +13,6 @@ The full list of modules described in this chapter is:
.. toctree:: .. toctree::
turtle.rst
cmd.rst cmd.rst
shlex.rst shlex.rst
.. _debugger:
:mod:`pdb` --- The Python Debugger :mod:`pdb` --- The Python Debugger
================================== ==================================
...@@ -164,7 +162,7 @@ access further features, you have to do this yourself: ...@@ -164,7 +162,7 @@ access further features, you have to do this yourself:
.. _debugger-commands: .. _debugger-commands:
Debugger Commands Debugger Commands
================= -----------------
The commands recognized by the debugger are listed below. Most commands can be 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 abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means that
......
...@@ -572,7 +572,7 @@ always available. ...@@ -572,7 +572,7 @@ always available.
Their intended use is to allow an interactive user to import a debugger module 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 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 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.) more information.)
The meaning of the variables is the same as that of the return values from The meaning of the variables is the same as that of the return values from
......
...@@ -36,7 +36,6 @@ alternatives, see the :ref:`other-gui-packages` section. ...@@ -36,7 +36,6 @@ alternatives, see the :ref:`other-gui-packages` section.
tkinter.ttk.rst tkinter.ttk.rst
tkinter.tix.rst tkinter.tix.rst
tkinter.scrolledtext.rst tkinter.scrolledtext.rst
turtle.rst
idle.rst idle.rst
othergui.rst othergui.rst
......
======================================== =================================
:mod:`turtle` --- Turtle graphics for Tk :mod:`turtle` --- Turtle graphics
======================================== =================================
.. module:: turtle .. module:: turtle
:synopsis: Turtle graphics for Tk :synopsis: An educational framework for simple graphics applications
.. sectionauthor:: Gregor Lingl <gregor.lingl@aon.at> .. sectionauthor:: Gregor Lingl <gregor.lingl@aon.at>
.. testsetup:: default .. testsetup:: default
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment