Oops. Return -1 to distinguish error from empty dict.
This change probably isn't work a bug fix. It's unlikely that anyone was calling this method without passing it a real dict.
Showing
Please
register
or
sign in
to comment
This change probably isn't work a bug fix. It's unlikely that anyone was calling this method without passing it a real dict.