]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/__init__.py
Merge pull request #64 from adafruit/platformdetect
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / __init__.py
index 845c802cb26731a0358ed474c60c2e4c5432f19c..47622df88c8bf50cd9059420c7c2b9215c276497 100755 (executable)
@@ -5,7 +5,7 @@
 * Author(s): cefn
 """
 
-class Enum(object):
+class Enum():
     """
         Object supporting CircuitPython-style of static symbols
         as seen with Direction.OUTPUT, Pull.UP
@@ -43,9 +43,11 @@ class ContextManaged:
     def __exit__(self, exc_type, exc_value, traceback):
         self.deinit()
 
+    # pylint: disable=no-self-use
     def deinit(self):
         """Free any hardware used by the object."""
-        pass
+        return
+    # pylint: enable=no-self-use
 
 
 class Lockable(ContextManaged):