diff jpath.py @ 9:ead552bcd268

add setup.py and prepare for publishing
author sheep@wintermute
date Wed, 14 Apr 2010 13:47:52 +0200
parents 1ad7cf9159dd
children 6cea15b348e2
line wrap: on
line diff
--- a/jpath.py	Wed Apr 14 12:57:16 2010 +0200
+++ b/jpath.py	Wed Apr 14 13:47:52 2010 +0200
@@ -23,7 +23,8 @@
     foo.*.baz
     ["foo"][*]["baz"]
 
-    This may return more or less than a single element.
+    This may return more or less than a single element. Use get to get the
+    first one, and get_all to get a list of all possibilities.
     If you want to skip any number of elements in path, use two dots '..':
 
     foo..baz