Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb91e7b

Browse files
committed
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!
1 parent e624e0f commit cb91e7b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/partparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ def write(self, data):
827827
self.data = self.data + data
828828

829829
# ignore these commands
830-
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small')
830+
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small', '/')
831831
# map commands like these to themselves as plaintext
832832
wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
833833
# \{ --> {, \} --> }, etc

Doc/tools/partparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ def write(self, data):
827827
self.data = self.data + data
828828

829829
# ignore these commands
830-
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small')
830+
ignoredcommands = ('bcode', 'ecode', 'hline', 'fulllineitems', 'small', '/')
831831
# map commands like these to themselves as plaintext
832832
wordsselves = ('UNIX', 'ABC', 'C', 'ASCII', 'EOF', 'LaTeX')
833833
# \{ --> {, \} --> }, etc

0 commit comments

Comments
 (0)