8000 Use print() not print statement · madCode/twilio-python@87b46bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 87b46bb

Browse files
author
Paul M Furley
committed
Use print() not print statement
`print(x)` has been preferred over `print x` for a long time now, and is required for Python 3 compatibility.
1 parent 133c1df commit 87b46bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ client = TwilioRestClient(account, token)
7272
call = client.calls.create(to="9991231234",
7373
from_="9991231234",
7474
url="http://twimlets.com/holdmusic?Bucket=com.twilio.music.ambient")
75-
print call.sid
75+
print(call.sid)
7676
```
7777

7878
### Send an SMS
@@ -99,7 +99,7 @@ from twilio import twiml
9999

100100
r = twiml.Response()
101101
r.say("Welcome to twilio!")
102-
print str(r)
102+
print(str(r))
103103
```
104104

105105
```xml

0 commit comments

Comments
 (0)
0