Refactored by adding a resolve() function to context.py:
The resolve() function is responsible for the interpolation name resolution rules described in the Mustache spec. Also, falsey values are now coerced to strings using Python's str(), which is more in line with the spec.
Showing
Please
register
or
sign in
to comment