Use os.devnull instead of utils.tex_file_writing.get_null(); also small typos that cause SyntaxError (#382)

* Update tex_file_writing.py

* Change "/dev/null" to os.getnull in utils/sounds.py SoX "play" command

* Fix typo
This commit is contained in:
Thomas Zhu
2018-12-30 01:27:03 +08:00
committed by Devin Neal
parent c1ec471cad
commit 47d8caa80e
4 changed files with 7 additions and 14 deletions

View File

@ -2010,7 +2010,7 @@ class VennDiagramProofByContradiction(Scene):
else:
rejected.append((x, y))
rejected.sort(
kay=lambda (x, y): (x**2 + y**2)
kay=lambda x, y: (x**2 + y**2)
)
for i in range(len(photons) - len(pairs)):
pairs.append(rejected.pop())