8000 Merge pull request #261 from W7PEA/patch-1 · PNPtutorials/twilio-python@22b84cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 22b84cd

Browse files
committed
Merge pull request twilio#261 from W7PEA/patch-1
Fix the closing tag for <response>
2 parents 089dcde + b297a68 commit 22b84cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/usage/twiml.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The output is perfectly formatted XML:
3030
.. code-block:: xml
3131
3232
<?xml version="1.0" encoding="utf-8"?>
33-
<Response><Say>Hello</Say><Response>
33+
<Response><Say>Hello</Say></Response>
3434
3535
The verb methods (outlined in the :doc:`complete reference </api/twiml>`)
3636
take the body (only text) of the verb as the first argument.
@@ -49,7 +49,7 @@ All attributes are keyword arguments.
4949
<?xml version="1.0" encoding="utf-8"?>
5050
<Response>
5151
<Play loop="3">https://api.twilio.com/cowbell.mp3</Play>
52-
<Response>
52+
</Response>
5353
5454
The Message and Sms verbs are slightly special: because :const:`from` is a
5555
Python keyword, use the :const:`sender` parameter to specify the number
@@ -68,7 +68,7 @@ the message should come from:
6868
<?xml version="1.0" encoding="utf-8"?>
6969
<Response>
7070
<Message from="+14155551234">Hello MMS Monkey!</Message>
71-
<Response>
71+
</Response>
7272
7373
Python 2.6+ added the :const:`with` statement for context management.
7474
Using :const:`with`, the module can *almost* emulate Ruby blocks.

0 commit comments

Comments
 (0)
0