commit | 739fe9a5428bdbe9b8ef760311072529b6d3eab4 | [log] [tgz] |
---|---|---|
author | Jack Evans <jack@evans.gb.ne> | Wed Mar 29 20:27:50 2017 |
committer | Will Pearson <uiri00@gmail.com> | Tue Apr 11 23:19:46 2017 |
tree | 5afb474609213ffa29aa85d6be908b451831123e | |
parent | e176ae93d6a7d130d260a3b1240141b8e31dfd8d [diff] |
Replace _dump if checks with single lookup Replaced potentially multiple if statement checks with single dictinoary lookup using type(v) as a parameter. If the type isn't found in the dictionary it returns the value of v by default Moved string dump and list dump logic out into seperate helper functions.