From cb91e7bbd37c484418ffae33c0e64dda3f056e18 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 25 Nov 1997 04:06:21 +0000 Subject: [PATCH] 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! --- Doc/partparse.py | 2 +- Doc/tools/partparse.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/partparse.py b/Doc/partparse.py index 4a836f2f249..742c56f9a1f 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 4a836f2f249..742c56f9a1f 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