Python 3 division is floordiv and truediv, not __div__

December 8, 2017

Check it out y'all: in Python 3+, division is implemented as __floordiv__ and __truediv__, not just __div__ as in Python 2.x. See this SO post.

Page last updated: 7/30/18
© 2013 - 2018 danielle brake contact me
Published using the Vector theme by Will Woodgate