aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/__init__.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-04-29 21:45:51 +0300
committerBonfaceKilz2021-04-29 21:45:51 +0300
commit23e8e222e8016ea8335d4850070f884ab9b043fe (patch)
tree495b13f81dd7ce9692db8a8e107d2298962394e7 /wqflask/utility/__init__.py
parent67703a57db19c9a1ebcc6991087479979cbbca18 (diff)
downloadgenenetwork2-23e8e222e8016ea8335d4850070f884ab9b043fe.tar.gz
Run `sed -i 's/(object)//g'`
See: https://is.gd/pL7IJF Ran: find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/(object)//g'
Diffstat (limited to 'wqflask/utility/__init__.py')
-rw-r--r--wqflask/utility/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/utility/__init__.py b/wqflask/utility/__init__.py
index 204ff59a..df926884 100644
--- a/wqflask/utility/__init__.py
+++ b/wqflask/utility/__init__.py
@@ -2,7 +2,7 @@ from pprint import pformat as pf
# Todo: Move these out of __init__
-class Bunch(object):
+class Bunch:
"""Like a dictionary but using object notation"""
def __init__(self, **kw):
self.__dict__ = kw
@@ -11,7 +11,7 @@ class Bunch(object):
return pf(self.__dict__)
-class Struct(object):
+class Struct:
'''The recursive class for building and representing objects with.
From http://stackoverflow.com/a/6573827/1175849