summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLev Vereshchagin <mail@vrslev.com>2022-04-06 09:39:05 +0300
committerLev Vereshchagin <mail@vrslev.com>2022-04-06 09:39:05 +0300
commitb7962d7c8be1a7d39280c84fc8d394571e698dd0 (patch)
tree1dd2a205b23580147f527338743e787806336115 /doc
parent8b10b8f6127e18efaa443ff79e90636ceef32750 (diff)
Run `pyupgrade` on codebase
https://github.com/asottile/pyupgrade `pyupgrade --py37-plus`
Diffstat (limited to 'doc')
-rw-r--r--doc/fake__sounddevice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/fake__sounddevice.py b/doc/fake__sounddevice.py
index 9d8c346..9ceaed5 100644
--- a/doc/fake__sounddevice.py
+++ b/doc/fake__sounddevice.py
@@ -17,7 +17,7 @@ def new_find_library(name):
ctypes.util.find_library = new_find_library
-class ffi(object):
+class ffi:
NULL = NotImplemented
I_AM_FAKE = True # This is used for the documentation of "default"
@@ -29,7 +29,7 @@ class ffi(object):
ffi = ffi()
-class FakeLibrary(object):
+class FakeLibrary:
# from portaudio.h: