mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue