Add an isinstance test.
This commit is contained in:
1 parent
e18c8200dd
commit
1d8b71ba56
1 file changed
+8
@@ -29,6 +29,14 @@ if 2:
|
|||||||
#? str()
|
#? str()
|
||||||
ass
|
ass
|
||||||
|
|
||||||
|
# -----------------
|
||||||
|
# invalid arguments
|
||||||
|
# -----------------
|
||||||
|
|
||||||
|
if isinstance(wrong, str()):
|
||||||
|
#?
|
||||||
|
wrong
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# in functions
|
# in functions
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in new issue
Block a user