8000 fix silly double return · mickstevens/twilio-python@c6f917b · GitHub
[go: up one dir, main page]

Skip to content

Commit c6f917b

Browse files
author
Kevin Burke
committed
fix silly double return
1 parent 5619977 commit c6f917b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

twilio/rest/resources/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ def count(self):
396396
:rtype: int
397397
:raises: a :exc:`~twilio.TwilioRestException` if the request fails
398398
399+
.. deprecated: 3.6.5
400+
399401
Example usage:
400402
401403
.. code-block:: python
@@ -449,7 +451,6 @@ def load_instance(self, data):
449451

450452
def __str__(self):
451453
return '<%s (%s)>' % (self.__class__.__name__, self.count())
452-
return '<%s (%s)>' % (self.__class__.__name__, self.count())
453454

454455
def list(self, **kw):
455456
"""Query the list resource for a list of InstanceResources.

0 commit comments

Comments
 (0)
0