mirror of https://github.com/python/cpython
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!
This commit is contained in:
parent
e624e0f99e
commit
cb91e7bbd3
|
@ -827,7 +827,7 @@ class Wobj:
|
||||||
self.data = self.data + data
|
self.data = self.data + data
|
||||||
|
|
||||||
# ignore these commands
|
# ignore these commands
|
||||||
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small')
|
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small', '/')
|
||||||
# map commands like these to themselves as plaintext
|
# map commands like these to themselves as plaintext
|
||||||
wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
|
wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
|
||||||
# \{ --> {, \} --> }, etc
|
# \{ --> {, \} --> }, etc
|
||||||
|
|
|
@ -827,7 +827,7 @@ class Wobj:
|
||||||
self.data = self.data + data
|
self.data = self.data + data
|
||||||
|
|
||||||
# ignore these commands
|
# ignore these commands
|
||||||
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small')
|
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small', '/')
|
||||||
# map commands like these to themselves as plaintext
|
# map commands like these to themselves as plaintext
|
||||||
wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
|
wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
|
||||||
# \{ --> {, \} --> }, etc
|
# \{ --> {, \} --> }, etc
|
||||||
|
|
Loading…
Reference in New Issue