From b7962d7c8be1a7d39280c84fc8d394571e698dd0 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Wed, 6 Apr 2022 09:39:05 +0300 Subject: Run `pyupgrade` on codebase https://github.com/asottile/pyupgrade `pyupgrade --py37-plus` --- doc/fake__sounddevice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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: -- cgit v1.2.3