summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/authorization
diff options
context:
space:
mode:
authorSergey Maranchuk <slav0nic@python.su>2020-04-17 22:12:06 +0300
committerSergey Maranchuk <slav0nic@python.su>2020-04-17 22:12:06 +0300
commit6668e43d2d67db4574e08a9d54bd80eb105c1b28 (patch)
tree10eda61b15ae53815af24af956267e2f632a46f7 /docs/quick_tutorial/authorization
parent48cf45b0a1ac04e701101fa18778164825edd429 (diff)
downloadpyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.gz
pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.bz2
pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.zip
inheriting from `object` not necessary in py3
Diffstat (limited to 'docs/quick_tutorial/authorization')
-rw-r--r--docs/quick_tutorial/authorization/tutorial/resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_tutorial/authorization/tutorial/resources.py b/docs/quick_tutorial/authorization/tutorial/resources.py
index b125cf083..1ee05bbba 100644
--- a/docs/quick_tutorial/authorization/tutorial/resources.py
+++ b/docs/quick_tutorial/authorization/tutorial/resources.py
@@ -1,7 +1,7 @@
from pyramid.authorization import Allow, Everyone
-class Root(object):
+class Root:
__acl__ = [(Allow, Everyone, 'view'),
(Allow, 'group:editors', 'edit')]