Skip to content

Commit 0eae52e

Browse files
committed
pyupgrade
1 parent 14b08ef commit 0eae52e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

flask_pymemcache.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
pymemcache_ integration for Flask
43
=================================
@@ -55,13 +54,12 @@
5554
5655
"""
5756

58-
from __future__ import absolute_import, division, print_function
5957
import flask
6058
import pymemcache.client
6159
import pymemcache.client.hash
6260

6361

64-
class FlaskPyMemcache(object):
62+
class FlaskPyMemcache:
6563
def __init__(self, app=None, conf_key=None):
6664
"""
6765
:type app: flask.Flask

test_flask_pymemcache.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
from __future__ import absolute_import, division, print_function
31
from unittest import TestCase
42

53
import pymemcache.client

0 commit comments

Comments
 (0)