[CLN] core: upgrade to python 3.6

& sort imports

closes odoo/documentation#2975

X-original-commit: 57784a2f90
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Victor Feyens
2022-11-14 16:03:12 +00:00
parent 258695b5ee
commit 31f9b8a56d
11 changed files with 29 additions and 36 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ def set_missing_meta(app, pagename, templatename, context, doctree):
if context.get('meta') is None: # Pages without title (used with `include::`) have no meta
context['meta'] = {}
class Monkey(object):
class Monkey:
""" Replace patched method of an object by a new method receiving the old one in argument. """
def __init__(self, obj):
self.obj = obj