From: Fred Drake Date: Tue, 25 Nov 1997 04:06:21 +0000 (+0000) Subject: Added the "italic correction" command ("\/") to the list of ignored commands. X-Git-Tag: v1.5b1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb91e7bbd37c484418ffae33c0e64dda3f056e18;p=thirdparty%2FPython%2Fcpython.git 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! --- diff --git a/Doc/partparse.py b/Doc/partparse.py index 4a836f2f249a..742c56f9a1fb 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 4a836f2f249a..742c56f9a1fb 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