Skip to content

Commit ab28ede

Browse files
author
Mark Costello
committed
Changes to README
1 parent 8e88a83 commit ab28ede

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ Download the tarball, untar and run `python setup.py install`
3333
pyloc.json # Returns the information as JSON parsed to a dictionary
3434
pyloc.xmltext # Returns the information as an xml string
3535
pyloc.xml # Returns the information as an XML Element Tree
36+
3637
"""
3738
The following returns the information as a python object
3839
"""
40+
3941
pylocinfo = pyloc.info
4042
print pylocinfo.ip # '8.8.8.8'
4143
print pylocinfo.city # 'Mountain View, CA'
@@ -44,7 +46,6 @@ Download the tarball, untar and run `python setup.py install`
4446
print pylocinfo.latitude # 37.402
4547
print pylocinfo.longitude # -122.078
4648

47-
4849
"""
4950
If you're getting the info for multiple IP addresses, you don't need to
5051
create multiple PyLocation objects

0 commit comments

Comments
 (0)