]> granicus.if.org Git - python/commitdiff
Added the "italic correction" command ("\/") to the list of ignored commands.
authorFred Drake <fdrake@acm.org>
Tue, 25 Nov 1997 04:06:21 +0000 (04:06 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 25 Nov 1997 04:06:21 +0000 (04:06 +0000)
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
Doc/tools/partparse.py

index 4a836f2f249a8e11d578385acb6eff41bcfe84c3..742c56f9a1fb716e4e717a601349cd2dd45d091e 100644 (file)
@@ -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
index 4a836f2f249a8e11d578385acb6eff41bcfe84c3..742c56f9a1fb716e4e717a601349cd2dd45d091e 100644 (file)
@@ -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