8000 Fix spacing · thecodeflash/twilio-python@1bf8807 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1bf8807

Browse files
author
Doug Black
committed
Fix spacing
1 parent 499c32f commit 1bf8807

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

twilio/base/obsolete.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ class ObsoleteException(BaseException):
88

99

1010
def obsolete_client(func):
11-
'''This is a decorator which can be used to mark Client classes
12-
as obsolete. It will result in an error being emitted
13-
when the class is instantiated.'''
11+
"""This is a decorator which can be used to mark Client classes as
12+
obsolete. It will result in an error being emitted when the class is
13+
instantiated."""
1414

1515
@functools.wraps(func)
1616
def new_func(*args, **kwargs):
17-
raise ObsoleteException("{} has been removed from this version of the library. "
18-
"Please refer to current documentation for guidance."
19-
.format(func.__name__))
17+
raise ObsoleteException(
18+
"{} has been removed from this version of the library. "
19+
"Please refer to current documentation for guidance."
20+
.format(func.__name__)
21+
)
2022

2123
return new_func

0 commit comments

Comments
 (0)
0