Created
November 1, 2016 14:13
-
-
Save EdisonChendi/f913d8ce65f9223ff041d17defe77ded to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf-8 | |
# py2 | |
from __future__ import division | |
import types | |
# prefer isinstance to type | |
assert isinstance(10/2, types.FloatType) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment