Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

no_self_use_py3.py 311B

123456789101112
  1. # pylint: disable=missing-docstring,no-init,unused-argument,invalid-name,too-few-public-methods
  2. class A:
  3. def __init__(self):
  4. self.store = {}
  5. def get(self, key, default=None):
  6. return self.store.get(key, default)
  7. class B(A):
  8. def get_memo(self, obj):
  9. return super().get(obj)