Skip to content
Snippets Groups Projects
Commit d1535b927972 authored by Keshav Kini's avatar Keshav Kini
Browse files

Allow unknown numerical types for indent parameter

This was causing failures in software which passes objects which are
neither of type str, int, or long, but rather a custom numerical class,
as the value of the indent parameter. Since this custom numerical class
understands multiplication by strings, it should be accepted by
simplejson's encoder and treated as a numerical argument.
parent fc6a3cebb4ba
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment