Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

snap_to_decimal can return None #7

Open
bootandy opened this issue Oct 5, 2016 · 0 comments
Open

snap_to_decimal can return None #7

bootandy opened this issue Oct 5, 2016 · 0 comments

Comments

@bootandy
Copy link

bootandy commented Oct 5, 2016

https://github.com/smarkets/smk_python_sdk/blob/master/smarkets/odds.py#L594

snap_to_decimal() snap_to_decimal_move_out_by()

These function can return None. This feels wrong especially for snap_to_decimal().

I think an exception would be neater.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants