Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix python typo

  • Loading branch information...
commit c438ac81cc2f40b7c7453f5e0f6a04e8f284c286 1 parent d8a4b62
Anders D. Johnson authored June 02, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/jsonpath.js
2  lib/jsonpath.js
@@ -83,7 +83,7 @@ function jsonPath(obj, expr, arg) {
83 83
                P.trace(P.eval(loc, val, path.substr(path.lastIndexOf(";")+1))+";"+x, val, path);
84 84
             else if (/^\?\(.*?\)$/.test(loc)) // [?(expr)]
85 85
                P.walk(loc, x, val, path, function(m,l,x,v,p) { if (P.eval(l.replace(/^\?\((.*?)\)$/,"$1"),v[m],m)) P.trace(m+";"+x,v,p); });
86  
-            else if (/^(-?[0-9]*):(-?[0-9]*):?([0-9]*)$/.test(loc)) // [start:end:step]  phyton slice syntax
  86
+            else if (/^(-?[0-9]*):(-?[0-9]*):?([0-9]*)$/.test(loc)) // [start:end:step]  python slice syntax
87 87
                P.slice(loc, x, val, path);
88 88
          }
89 89
          else

0 notes on commit c438ac8

Please sign in to comment.
Something went wrong with that request. Please try again.