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
4c96274d
Commit
4c96274d
authored
Dec 30, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mentions of the Demo directory.
parent
3dc8dfb8
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
30 deletions
+16
-30
Doc/extending/embedding.rst
Doc/extending/embedding.rst
+0
-3
Doc/library/curses.rst
Doc/library/curses.rst
+1
-1
Doc/library/imp.rst
Doc/library/imp.rst
+0
-7
Doc/library/tkinter.rst
Doc/library/tkinter.rst
+1
-3
Doc/library/tkinter.tix.rst
Doc/library/tkinter.tix.rst
+1
-5
Doc/library/turtle.rst
Doc/library/turtle.rst
+2
-3
Mac/Makefile.in
Mac/Makefile.in
+0
-4
Mac/README
Mac/README
+2
-2
Makefile.pre.in
Makefile.pre.in
+2
-2
Misc/NEWS
Misc/NEWS
+7
-0
No files found.
Doc/extending/embedding.rst
View file @
4c96274d
...
@@ -35,9 +35,6 @@ stdio file pointer and a file name (for identification in error messages only)
...
@@ -35,9 +35,6 @@ stdio file pointer and a file name (for identification in error messages only)
to :c:func:`PyRun_SimpleFile`. You can also call the lower-level operations
to :c:func:`PyRun_SimpleFile`. You can also call the lower-level operations
described in the previous chapters to construct and use Python objects.
described in the previous chapters to construct and use Python objects.
A simple demo of embedding Python can be found in the directory
:file:`Demo/embed/` of the source distribution.
.. seealso::
.. seealso::
...
...
Doc/library/curses.rst
View file @
4c96274d
...
@@ -49,7 +49,7 @@ Linux and the BSD variants of Unix.
...
@@ -49,7 +49,7 @@ Linux and the BSD variants of Unix.
Tutorial material on using curses with Python, by Andrew Kuchling and Eric
Tutorial material on using curses with Python, by Andrew Kuchling and Eric
Raymond.
Raymond.
The :file:`
Demo/curses
/` directory in the Python source distribution contains
The :file:`
Tools/demo
/` directory in the Python source distribution contains
some example programs using the curses bindings provided by this module.
some example programs using the curses bindings provided by this module.
...
...
Doc/library/imp.rst
View file @
4c96274d
...
@@ -308,10 +308,3 @@ in that version, since :func:`find_module` has been extended and
...
@@ -308,10 +308,3 @@ in that version, since :func:`find_module` has been extended and
# Since we may exit via an exception, close fp explicitly.
# Since we may exit via an exception, close fp explicitly.
if fp:
if fp:
fp.close()
fp.close()
.. index:: module: knee
A more complete example that implements hierarchical module names and includes a
:func:`reload` function can be found in the module :mod:`knee`. The :mod:`knee`
module can be found in :file:`Demo/imputil/` in the Python source distribution.
Doc/library/tkinter.rst
View file @
4c96274d
...
@@ -659,9 +659,7 @@ relief
...
@@ -659,9 +659,7 @@ relief
scrollcommand
scrollcommand
This
is
almost
always
the
:
meth
:`
!set` method of some scrollbar widget, but can
This
is
almost
always
the
:
meth
:`
!set` method of some scrollbar widget, but can
be
any
widget
method
that
takes
a
single
argument
.
Refer
to
the
file
be
any
widget
method
that
takes
a
single
argument
.
:
file
:`
Demo
/
tkinter
/
matt
/
canvas
-
with
-
scrollbars
.
py
`
in
the
Python
source
distribution
for
an
example
.
wrap
:
wrap
:
Must
be
one
of
:
``
"none"
``,
``
"char"
``,
or
``
"word"
``.
Must
be
one
of
:
``
"none"
``,
``
"char"
``,
or
``
"word"
``.
...
...
Doc/library/tkinter.tix.rst
View file @
4c96274d
...
@@ -84,11 +84,7 @@ Tix Widgets
...
@@ -84,11 +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.
demo of all the :mod:`tkinter.tix` widgets in the :file:`Demo/tix` directory of
the standard distribution.
.. The Python sample code is still being added to Python, hence commented out
Basic Widgets
Basic Widgets
...
...
Doc/library/turtle.rst
View file @
4c96274d
...
@@ -2268,7 +2268,7 @@ There can be a :file:`turtle.cfg` file in the directory where :mod:`turtle` is
...
@@ -2268,7 +2268,7 @@ There can be a :file:`turtle.cfg` file in the directory where :mod:`turtle` is
stored and an additional one in the current working directory. The latter will
stored and an additional one in the current working directory. The latter will
override the settings of the first one.
override the settings of the first one.
The :file:`
Demo/turtle
` directory contains a :file:`turtle.cfg` file. You can
The :file:`
Lib/turtledemo
` directory contains a :file:`turtle.cfg` file. You can
study it as an example and see its effects when running the demos (preferably
study it as an example and see its effects when running the demos (preferably
not from within the demo-viewer).
not from within the demo-viewer).
...
@@ -2400,8 +2400,7 @@ Changes since Python 3.0
...
@@ -2400,8 +2400,7 @@ Changes since Python 3.0
strings and numbers respectively.
strings and numbers respectively.
- Two example scripts :file:`tdemo_nim.py` and :file:`tdemo_round_dance.py`
- Two example scripts :file:`tdemo_nim.py` and :file:`tdemo_round_dance.py`
have been added to the Demo directory (source distribution only). As usual
have been added to the :file:`Lib/turtledemo` directory.
they can be viewed and executed within the demo viewer :file:`turtleDemo.py`.
.. doctest::
.. doctest::
...
...
Mac/Makefile.in
View file @
4c96274d
...
@@ -202,10 +202,6 @@ $(INSTALLED_PYTHONAPP): install_Python
...
@@ -202,10 +202,6 @@ $(INSTALLED_PYTHONAPP): install_Python
installextras
:
$(srcdir)/Extras.ReadMe.txt $(srcdir)/Extras.install.py
installextras
:
$(srcdir)/Extras.ReadMe.txt $(srcdir)/Extras.install.py
$(INSTALL)
-d
"
$(DESTDIR)$(PYTHONAPPSDIR)
/Extras"
$(INSTALL)
-d
"
$(DESTDIR)$(PYTHONAPPSDIR)
/Extras"
$(INSTALL)
$(srcdir)
/Extras.ReadMe.txt
"
$(DESTDIR)$(PYTHONAPPSDIR)
/Extras/ReadMe.txt"
$(INSTALL)
$(srcdir)
/Extras.ReadMe.txt
"
$(DESTDIR)$(PYTHONAPPSDIR)
/Extras/ReadMe.txt"
$(RUNSHARED)
$(BUILDPYTHON)
$(srcdir)
/Extras.install.py
$(srcdir)
/../Demo
\
"
$(DESTDIR)$(PYTHONAPPSDIR)
/Extras/Demo"
$(RUNSHARED)
$(BUILDPYTHON)
$(srcdir)
/Extras.install.py
$(srcdir)
/Demo
\
"
$(DESTDIR)$(PYTHONAPPSDIR)
/Extras/Demo.Mac"
checkapplepython
:
$(srcdir)/Tools/fixapplepython23.py
checkapplepython
:
$(srcdir)/Tools/fixapplepython23.py
...
...
Mac/README
View file @
4c96274d
...
@@ -188,8 +188,8 @@ frameworkinstall is composed of a couple of sub-targets that install the
...
@@ -188,8 +188,8 @@ frameworkinstall is composed of a couple of sub-targets that install the
framework itself, the Mac subtree, the applications and the unix tools.
framework itself, the Mac subtree, the applications and the unix tools.
There is an extra target frameworkinstallextras that is not part of the
There is an extra target frameworkinstallextras that is not part of the
normal frameworkinstall which installs the
Demo and Tools directories
normal frameworkinstall which installs the
Tools directory into
into
"/Applications/MacPython <VERSION>", this is useful for binary
"/Applications/MacPython <VERSION>", this is useful for binary
distributions.
distributions.
What do all these programs do?
What do all these programs do?
...
...
Makefile.pre.in
View file @
4c96274d
...
@@ -154,7 +154,7 @@ CONFIG_ARGS= @CONFIG_ARGS@
...
@@ -154,7 +154,7 @@ CONFIG_ARGS= @CONFIG_ARGS@
SRCDIRS
=
@SRCDIRS@
SRCDIRS
=
@SRCDIRS@
# Other subdirectories
# Other subdirectories
SUBDIRSTOO
=
Include Lib Misc
Demo
SUBDIRSTOO
=
Include Lib Misc
# Files and directories to be distributed
# Files and directories to be distributed
CONFIGFILES
=
configure configure.in acconfig.h pyconfig.h.in Makefile.pre.in
CONFIGFILES
=
configure configure.in acconfig.h pyconfig.h.in Makefile.pre.in
...
@@ -1155,7 +1155,7 @@ frameworkinstallunixtools:
...
@@ -1155,7 +1155,7 @@ frameworkinstallunixtools:
frameworkaltinstallunixtools
:
frameworkaltinstallunixtools
:
cd
Mac
&&
$(MAKE)
altinstallunixtools
DESTDIR
=
"
$(DESTDIR)
"
cd
Mac
&&
$(MAKE)
altinstallunixtools
DESTDIR
=
"
$(DESTDIR)
"
# This installs the
Demos and
Tools into the applications directory.
# This installs the Tools into the applications directory.
# It is not part of a normal frameworkinstall
# It is not part of a normal frameworkinstall
frameworkinstallextras
:
frameworkinstallextras
:
cd
Mac
&&
$(MAKE)
installextras
DESTDIR
=
"
$(DESTDIR)
"
cd
Mac
&&
$(MAKE)
installextras
DESTDIR
=
"
$(DESTDIR)
"
...
...
Misc/NEWS
View file @
4c96274d
...
@@ -79,6 +79,13 @@ Build
...
@@ -79,6 +79,13 @@ Build
- Issue #10679: The "idle", "pydoc" and "2to3" scripts are now installed with
- Issue #10679: The "idle", "pydoc" and "2to3" scripts are now installed with
a version-specific suffix on "make altinstall".
a version-specific suffix on "make altinstall".
Tools/Demos
-----------
- Issue #7962: The Demo directory is gone. Most of the old and unmaintained
demos have been removed, others integrated in documentation or a new
Tools/demo subdirectory.
What's New in Python 3.2 Beta 2?
What's New in Python 3.2 Beta 2?
================================
================================
...
...
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