Skip to content

Instantly share code, notes, and snippets.

@MGough
Created November 17, 2019 22:17
Show Gist options
  • Save MGough/08ef5a3dd9339d12ef4b2d94f13a6f72 to your computer and use it in GitHub Desktop.
Save MGough/08ef5a3dd9339d12ef4b2d94f13a6f72 to your computer and use it in GitHub Desktop.
A modified class out of our control
from abc import abstractmethod
class SomeClassOutOfOurControl:
@abstractmethod
def add(self, items):
raise NotImplementedError("We don't care about this")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment