Changeset - c6dc2d83aca7
1
7
0
data.Amount: Introduce class and simplify code to use it.
See docstring for full rationale. This greatly reduces the need for other
plugin code to handle the case of `post.units.number is None`, eliminating
the need for entire methods and letting it do plain numeric comparisons.
See docstring for full rationale. This greatly reduces the need for other
plugin code to handle the case of `post.units.number is None`, eliminating
the need for entire methods and letting it do plain numeric comparisons.
8 files changed with 46 insertions and 231 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)