Skip to content

Commit bdac810

Browse files
committed
- changes from running pyupgrade via pre-commit
1 parent fc79fce commit bdac810

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

benchmarks/micro.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class IWideInheritance(*ifaces):
2121
"""
2222

2323

24-
class WideInheritance(object):
24+
class WideInheritance:
2525
pass
2626

2727

@@ -41,23 +41,23 @@ def make_deep_inheritance():
4141
deep_ifaces = make_deep_inheritance()
4242

4343

44-
class DeepestInheritance(object):
44+
class DeepestInheritance:
4545
pass
4646

4747

4848
classImplements(DeepestInheritance, deep_ifaces[-1])
4949

5050

51-
class ImplementsNothing(object):
51+
class ImplementsNothing:
5252
pass
5353

5454

55-
class HasConformReturnNone(object):
55+
class HasConformReturnNone:
5656
def __conform__(self, iface):
5757
return None
5858

5959

60-
class HasConformReturnObject(object):
60+
class HasConformReturnObject:
6161
def __conform__(self, iface):
6262
return self
6363

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
#
32
# zope.interface documentation build configuration file, created by
43
# sphinx-quickstart on Mon Mar 26 16:31:31 2012.

0 commit comments

Comments
 (0)