Skip to content

Commit 50d9a12

Browse files
authored
Update README.rst
fix typo in instructions
1 parent 1aaf61f commit 50d9a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The usage is simple:
4848
.. code-block:: python
4949
5050
from json2xml import json2xml
51-
from json2xml.utils from readfromurl, readfromstring, readfromjson
51+
from json2xml.utils import readfromurl, readfromstring, readfromjson
5252
5353
# get the xml from an URL that return json
5454
data = readfromurl("https://coderwall.com/vinitcool76.json")
@@ -72,7 +72,7 @@ By default, a wrapper `all` and pretty `True` is set. However, you can change th
7272
.. code-block:: python
7373
7474
from json2xml import json2xml
75-
from json2xml.utils from readfromurl, readfromstring, readfromjson
75+
from json2xml.utils import readfromurl, readfromstring, readfromjson
7676
data = readfromstring(
7777
'{"login":"mojombo","id":1,"avatar_url":"https://avatars0.githubusercontent.com/u/1?v=4"}'
7878
)

0 commit comments

Comments
 (0)