8000 more idiomatic python · michaelhelmick/twilio-python@eb5e203 · GitHub
[go: up one dir, main page]

Skip to content

Commit eb5e203

Browse files
author
Kevin Burke
committed
more idiomatic python
1 parent da1c26d commit eb5e203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/phone-numbers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Finding numbers to buy couldn't be easier. We first search for a number in area
2121
client = TwilioRestClient()
2222
numbers = client.phone_numbers.search(area_code=530)
2323
24-
if len(numbers) > 0:
24+
if numbers:
2525
numbers[0].purchase()
2626
else:
2727
print "No numbers in 530 available"

0 commit comments

Comments
 (0)
0