Permalink
Browse files

Clarify _parse_lookup_string docstring

  • Loading branch information...
1 parent 6dd5b97 commit e09e7572d2dd69831efc93d364e3219b10e616cc @thomasw committed Nov 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 querylist/fieldlookup.py
@@ -25,7 +25,7 @@ def __call__(self, instance, lookup, compare_value=None, compare=False):
return comparator(value, compare_value)
def _parse_lookup_string(self, lookup_chain):
- """Convert a lookup string to a lookup_chain, lookup method tuple."""
+ """Convert a lookup string to a (lookup_chain, comparator) tuple."""
lookup_chain = lookup_chain.split('__')
comparator = self.default_comparator

0 comments on commit e09e757

Please sign in to comment.