diff options
author | Fred Drake <fdrake@acm.org> | 1997-11-25 04:06:21 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1997-11-25 04:06:21 (GMT) |
commit | cb91e7bbd37c484418ffae33c0e64dda3f056e18 (patch) | |
tree | e56efc2999d842ea7900f0a0319cbc1a42dab94d /Doc | |
parent | e624e0f99ea60d2d5b4c08ad0dc701de1653dfb3 (diff) | |
download | cpython-cb91e7bbd37c484418ffae33c0e64dda3f056e18.zip cpython-cb91e7bbd37c484418ffae33c0e64dda3f056e18.tar.gz cpython-cb91e7bbd37c484418ffae33c0e64dda3f056e18.tar.bz2 |
Added the "italic correction" command ("\/") to the list of ignored commands.
There is at least one of there in the library reference, and this reduces
the warning count. We *do* know what to do with it!
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/partparse.py | 2 | ||||
-rw-r--r-- | Doc/tools/partparse.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/partparse.py b/Doc/partparse.py index 4a836f2..742c56f 100644 --- a/Doc/partparse.py +++ b/Doc/partparse.py @@ -827,7 +827,7 @@ class Wobj: self.data = self.data + data # ignore these commands -ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small') +ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small', '/') # map commands like these to themselves as plaintext wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX') # \{ --> {, \} --> }, etc diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py index 4a836f2..742c56f 100644 --- a/Doc/tools/partparse.py +++ b/Doc/tools/partparse.py @@ -827,7 +827,7 @@ class Wobj: self.data = self.data + data # ignore these commands -ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small') +ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small', '/') # map commands like these to themselves as plaintext wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX') # \{ --> {, \} --> }, etc |