Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1a263ad6
Commit
1a263ad6
authored
Mar 14, 2010
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#7057: fix several errors.
parent
580d60ce
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
68 additions
and
55 deletions
+68
-55
Doc/library/pydoc.rst
Doc/library/pydoc.rst
+1
-1
Doc/library/tkinter.rst
Doc/library/tkinter.rst
+54
-42
Doc/library/tkinter.tix.rst
Doc/library/tkinter.tix.rst
+1
-1
Doc/library/tkinter.ttk.rst
Doc/library/tkinter.ttk.rst
+7
-6
Doc/library/turtle.rst
Doc/library/turtle.rst
+4
-4
Doc/using/mac.rst
Doc/using/mac.rst
+1
-1
No files found.
Doc/library/pydoc.rst
View file @
1a263ad6
...
@@ -54,7 +54,7 @@ that will serve documentation to visiting Web browsers. :program:`pydoc`
...
@@ -54,7 +54,7 @@ that will serve documentation to visiting Web browsers. :program:`pydoc`
:option:`-p 1234` will start a HTTP server on port 1234, allowing you to browse
:option:`-p 1234` will start a HTTP server on port 1234, allowing you to browse
the documentation at ``http://localhost:1234/`` in your preferred Web browser.
the documentation at ``http://localhost:1234/`` in your preferred Web browser.
:program:`pydoc` :option:`-g` will start the server and additionally bring up a
:program:`pydoc` :option:`-g` will start the server and additionally bring up a
small :mod:`
T
kinter`\ -based graphical interface to help you search for
small :mod:`
t
kinter`\ -based graphical interface to help you search for
documentation pages.
documentation pages.
When :program:`pydoc` generates documentation, it uses the current environment
When :program:`pydoc` generates documentation, it uses the current environment
...
...
Doc/library/tkinter.rst
View file @
1a263ad6
This diff is collapsed.
Click to expand it.
Doc/library/tkinter.tix.rst
View file @
1a263ad6
...
@@ -84,7 +84,7 @@ Tix Widgets
...
@@ -84,7 +84,7 @@ Tix Widgets
-----------
-----------
`Tix <http://tix.sourceforge.net/dist/current/man/html/TixCmd/TixIntro.htm>`_
`Tix <http://tix.sourceforge.net/dist/current/man/html/TixCmd/TixIntro.htm>`_
introduces over 40 widget classes to the :mod:`
Tkinter`
repertoire. There is a
introduces over 40 widget classes to the :mod:`
tkinter`
repertoire. There is a
demo of all the :mod:`tkinter.tix` widgets in the :file:`Demo/tix` directory of
demo of all the :mod:`tkinter.tix` widgets in the :file:`Demo/tix` directory of
the standard distribution.
the standard distribution.
...
...
Doc/library/tkinter.ttk.rst
View file @
1a263ad6
...
@@ -116,12 +116,13 @@ All the :mod:`ttk` Widgets accepts the following options:
...
@@ -116,12 +116,13 @@ All the :mod:`ttk` Widgets accepts the following options:
| | for the parent widget. |
| | for the parent widget. |
+-----------+--------------------------------------------------------------+
+-----------+--------------------------------------------------------------+
| takefocus | Determines whether the window accepts the focus during |
| takefocus | Determines whether the window accepts the focus during |
| | keyboard traversal. 0, 1 or an empty is return. If 0 is |
| | keyboard traversal. 0, 1 or an empty string is returned. |
| | returned, it means that the window should be skipped entirely|
| | If 0 is returned, it means that the window should be skipped |
| | during keyboard traversal. If 1, it means that the window |
| | entirely during keyboard traversal. If 1, it means that the |
| | should receive the input focus as long as it is viewable. And|
| | window should receive the input focus as long as it is |
| | an empty string means that the traversal scripts make the |
| | viewable. And an empty string means that the traversal |
| | decision about whether or not to focus on the window. |
| | scripts make the decision about whether or not to focus |
| | on the window. |
+-----------+--------------------------------------------------------------+
+-----------+--------------------------------------------------------------+
| style | May be used to specify a custom widget style. |
| style | May be used to specify a custom widget style. |
+-----------+--------------------------------------------------------------+
+-----------+--------------------------------------------------------------+
...
...
Doc/library/turtle.rst
View file @
1a263ad6
...
@@ -35,13 +35,13 @@ programmer to use all the commands, classes and methods interactively when using
...
@@ -35,13 +35,13 @@ programmer to use all the commands, classes and methods interactively when using
the module from within IDLE run with the ``-n`` switch.
the module from within IDLE run with the ``-n`` switch.
The turtle module provides turtle graphics primitives, in both object-oriented
The turtle module provides turtle graphics primitives, in both object-oriented
and procedure-oriented ways. Because it uses :mod:`
T
kinter` for the underlying
and procedure-oriented ways. Because it uses :mod:`
t
kinter` for the underlying
graphics, it needs a version of Python installed with Tk support.
graphics, it needs a version of Python installed with Tk support.
The object-oriented interface uses essentially two+two classes:
The object-oriented interface uses essentially two+two classes:
1. The :class:`TurtleScreen` class defines graphics windows as a playground for
1. The :class:`TurtleScreen` class defines graphics windows as a playground for
the drawing turtles. Its constructor needs a :class:`
T
kinter.Canvas` or a
the drawing turtles. Its constructor needs a :class:`
t
kinter.Canvas` or a
:class:`ScrolledCanvas` as argument. It should be used when :mod:`turtle` is
:class:`ScrolledCanvas` as argument. It should be used when :mod:`turtle` is
used as part of some application.
used as part of some application.
...
@@ -1998,7 +1998,7 @@ The public classes of the module :mod:`turtle`
...
@@ -1998,7 +1998,7 @@ The public classes of the module :mod:`turtle`
.. class:: RawTurtle(canvas)
.. class:: RawTurtle(canvas)
RawPen(canvas)
RawPen(canvas)
:param canvas: a :class:`
T
kinter.Canvas`, a :class:`ScrolledCanvas` or a
:param canvas: a :class:`
t
kinter.Canvas`, a :class:`ScrolledCanvas` or a
:class:`TurtleScreen`
:class:`TurtleScreen`
Create a turtle. The turtle has all methods described above as "methods of
Create a turtle. The turtle has all methods described above as "methods of
...
@@ -2013,7 +2013,7 @@ The public classes of the module :mod:`turtle`
...
@@ -2013,7 +2013,7 @@ The public classes of the module :mod:`turtle`
.. class:: TurtleScreen(cv)
.. class:: TurtleScreen(cv)
:param cv: a :class:`
T
kinter.Canvas`
:param cv: a :class:`
t
kinter.Canvas`
Provides screen oriented methods like :func:`setbg` etc. that are described
Provides screen oriented methods like :func:`setbg` etc. that are described
above.
above.
...
...
Doc/using/mac.rst
View file @
1a263ad6
...
@@ -143,7 +143,7 @@ There are several options for building GUI applications on the Mac with Python.
...
@@ -143,7 +143,7 @@ There are several options for building GUI applications on the Mac with Python.
the
foundation
of
most
modern
Mac
development
.
Information
on
PyObjC
is
the
foundation
of
most
modern
Mac
development
.
Information
on
PyObjC
is
available
from
http
://
pyobjc
.
sourceforge
.
net
.
available
from
http
://
pyobjc
.
sourceforge
.
net
.
The
standard
Python
GUI
toolkit
is
:
mod
:`
T
kinter
`,
based
on
the
cross
-
platform
The
standard
Python
GUI
toolkit
is
:
mod
:`
t
kinter
`,
based
on
the
cross
-
platform
Tk
toolkit
(
http
://
www
.
tcl
.
tk
).
An
Aqua
-
native
version
of
Tk
is
bundled
with
OS
Tk
toolkit
(
http
://
www
.
tcl
.
tk
).
An
Aqua
-
native
version
of
Tk
is
bundled
with
OS
X
by
Apple
,
and
the
latest
version
can
be
downloaded
and
installed
from
X
by
Apple
,
and
the
latest
version
can
be
downloaded
and
installed
from
http
://
www
.
activestate
.
com
;
it
can
also
be
built
from
source
.
http
://
www
.
activestate
.
com
;
it
can
also
be
built
from
source
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment