Skip to content

Commit

Permalink
Remove some iteritems
Browse files Browse the repository at this point in the history
  • Loading branch information
ajirving committed May 24, 2020
1 parent 358b182 commit c89c8d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion latex_access/nemeth.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self):
for letter in range (65,91):
new_table["%c" % (letter)] = self.upperLetter

for (k,v) in new_table.iteritems():
for (k,v) in new_table.items():
self.table[k]=v


Expand Down
2 changes: 1 addition & 1 deletion latex_access/speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self):
new_table={"^":self.super,"_":("<sub>","</sub>"),"\\pmod":("mod <sub>","</sub>"),"\\sqrt":self.sqrt,"\\frac":self.frac,"\\tfrac":self.frac,"\\dfrac":self.frac,"\\int":self.integral,"\\iint":self.iintegral,"\\iiint":self.iiintegral,"\\mathbf":("<bold>","</bold>"),"\\mathbb":("<bold>","</bold>"),"\\mathcal":("<mathcal>","</mathcal>"),
"\\log":self.log,"\\ang":self.ang,"\\tag":self.tag,"\\hat":("","hat"),"\\widehat":("","hat"),"\\bar":("","bar"),"\\overline":("","bar"),"\\dot":("","dot"),"\\ddot":("","double dot"),"\\sum":self.sum,"\\prod":self.prod,"\\bigcup":self.union,"\\bigcap":self.intersection}

for (k,v) in new_table.iteritems():
for (k,v) in new_table.items():
self.table[k]=v
self.space=" "

Expand Down

0 comments on commit c89c8d2

Please sign in to comment.