summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-11-17 19:05:12 (GMT)
committerFred Drake <fdrake@acm.org>2000-11-17 19:05:12 (GMT)
commit2ed27d3189783966a915181f9013b808a20d2c6b (patch)
treec6fc8387131445c46ae623e02b98840411cc8aa7 /Doc/tools
parentaa126e1e21e837678310c456a0f656276106ec03 (diff)
downloadcpython-2ed27d3189783966a915181f9013b808a20d2c6b.zip
cpython-2ed27d3189783966a915181f9013b808a20d2c6b.tar.gz
cpython-2ed27d3189783966a915181f9013b808a20d2c6b.tar.bz2
Note that readframes() returns data in linear format, even if the original
is encoded in u-LAW format. Based on suggestion from Anthony Baxter <anthony_baxter@users.sourceforge.net>. This closes bug #122273.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/listmodules23
-rw-r--r--Doc/tools/sgmlconv/conversion.xml38
2 files changed, 53 insertions, 8 deletions
diff --git a/Doc/tools/listmodules b/Doc/tools/listmodules
index 7751a9e..03e7b5d 100755
--- a/Doc/tools/listmodules
+++ b/Doc/tools/listmodules
@@ -8,18 +8,24 @@
"""%(program)s - list modules in the Python standard library
--a, --annotate Annotate the module names with the subdirectory they live in
+-a, --annotate Annotate the module names with the subdirectory they
+ live in
-c, --categorize Group the modules by subdirectory
-i <file>,
---ignore-from <file> Ignore the modules listed in <file>. <file> may contain
- a list of module names or a module index file as produced
- when formatting the Python documentation (.idx flavor).
-If neither -a nor -c are given, the modules are listed in alphabetical order.
+--ignore-from <file> Ignore the modules listed in <file>. <file> may
+ contain a list of module names or a module index file
+ as produced when formatting the Python documentation
+ (.idx or .html flavor).
+
+If neither -a nor -c are given, the modules are listed in alphabetical
+order.
Note that -a and -c are mutually exclusive.
-Limitation: Modules loadable as shared objects are not listed.
+Limitation: Modules loadable as shared objects may not be listed,
+though this script attempts to locate such modules.
+
"""
__version__ = '$Revision$'
@@ -32,7 +38,8 @@ import string
import sys
-REMOVE_DIRS = ["dos-8x3", "lib-old", "lib-stdwin", "test"]
+REMOVE_DIRS = ["dos-8x3", "encodings", "distutils",
+ "lib-old", "lib-stdwin", "test"]
def main():
@@ -86,7 +93,7 @@ def main():
if not ignore(name):
modules_by_name[name] = "<built-in>"
l.append(name)
- rx = re.compile("Lib/plat-[a-z0-9]*/", re.IGNORECASE)
+ rx = re.compile("Lib/plat-[a-zA-Z0-9]*/")
fp = os.popen("find Lib -name \*.py -print", "r")
while 1:
line = fp.readline()
diff --git a/Doc/tools/sgmlconv/conversion.xml b/Doc/tools/sgmlconv/conversion.xml
index e80485d..244c824 100644
--- a/Doc/tools/sgmlconv/conversion.xml
+++ b/Doc/tools/sgmlconv/conversion.xml
@@ -78,6 +78,8 @@
<macro name="optional">
<content/>
</macro>
+ <macro name="unspecified"/>
+ <macro name="moreargs"/>
<environment name="classdesc">
<attribute name="name"/>
<child name="args"/>
@@ -409,6 +411,15 @@
</text>
<child name="entry"/>
</environment>
+ <environment name="longtableii" outputname="table">
+ <attribute name="cols">2</attribute>
+ <attribute name="colspec"/>
+ <attribute name="style"/>
+ <child name="entry"/>
+ <text>
+ </text>
+ <child name="entry"/>
+ </environment>
<macro name="lineii" outputname="row">
<child name="entry"/>
<text>
@@ -428,6 +439,18 @@
</text>
<child name="entry"/>
</environment>
+ <environment name="longtableiii" outputname="table">
+ <attribute name="cols">3</attribute>
+ <attribute name="colspec"/>
+ <attribute name="style"/>
+ <child name="entry"/>
+ <text>
+ </text>
+ <child name="entry"/>
+ <text>
+ </text>
+ <child name="entry"/>
+ </environment>
<macro name="lineiii" outputname="row">
<child name="entry"/>
<text>
@@ -453,6 +476,21 @@
</text>
<child name="entry"/>
</environment>
+ <environment name="longtableiv" outputname="table">
+ <attribute name="cols">4</attribute>
+ <attribute name="colspec"/>
+ <attribute name="style"/>
+ <child name="entry"/>
+ <text>
+ </text>
+ <child name="entry"/>
+ <text>
+ </text>
+ <child name="entry"/>
+ <text>
+ </text>
+ <child name="entry"/>
+ </environment>
<macro name="lineiv" outputname="row">
<child name="entry"/>
<text>