summaryrefslogtreecommitdiff
path: root/oauthlib/signals.py
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2019-08-30 11:56:43 +0200
committerGitHub <noreply@github.com>2019-08-30 11:56:43 +0200
commitca57b0bcae835493d9db8f9bf1f1228b71b8e3f8 (patch)
tree71f3d2ecee2ffd32da6f030558d0eed91d953895 /oauthlib/signals.py
parent1f3fc4bfd4fd51711798186591bf3e3ba5a894be (diff)
parent11bf0eca2857f5330237e574630dd916d53cd573 (diff)
downloadoauthlib-ca57b0bcae835493d9db8f9bf1f1228b71b8e3f8.tar.gz
Merge pull request #700 from hugovk/rm-2.7
Drop support for Python 2.7
Diffstat (limited to 'oauthlib/signals.py')
-rw-r--r--oauthlib/signals.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oauthlib/signals.py b/oauthlib/signals.py
index 22d47a4..9356cc2 100644
--- a/oauthlib/signals.py
+++ b/oauthlib/signals.py
@@ -9,11 +9,11 @@ try:
from blinker import Namespace
signals_available = True
except ImportError: # noqa
- class Namespace(object):
+ class Namespace:
def signal(self, name, doc=None):
return _FakeSignal(name, doc)
- class _FakeSignal(object):
+ class _FakeSignal:
"""If blinker is unavailable, create a fake class with the same
interface that allows sending of signals but will fail with an
error on anything else. Instead of doing anything on send, it