Kaydet (Commit) cb91e7bb authored tarafından Fred Drake's avatar Fred Drake

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!
üst e624e0f9
...@@ -827,7 +827,7 @@ class Wobj: ...@@ -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: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment