diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2018-09-30 22:43:22 +0200 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-11-23 02:52:04 -0600 |
commit | 862a7d7a6fb359eed93bc59a90813e756298ea0e (patch) | |
tree | 05d1355658006cb9c8fd1cfaf6fba7096c71691b | |
parent | 19fc8ae86db7818376f5a9d11359c5f69e8dd747 (diff) | |
download | cherrypy-git-862a7d7a6fb359eed93bc59a90813e756298ea0e.tar.gz |
Adjust reprconf to match Python 3.8 changes
-rw-r--r-- | cherrypy/lib/reprconf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cherrypy/lib/reprconf.py b/cherrypy/lib/reprconf.py index 291ab663..fc758490 100644 --- a/cherrypy/lib/reprconf.py +++ b/cherrypy/lib/reprconf.py @@ -451,6 +451,8 @@ class _Builder3: def build_NameConstant(self, o): return o.value + build_Constant = build_NameConstant # Python 3.8 change + def build_UnaryOp(self, o): op, operand = map(self.build, [o.op, o.operand]) return op(operand) |