mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
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:
@ -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())
|
||||
|
Reference in New Issue
Block a user