Sunday, March 04, 2018

Is This Idiomatic Python?

if isInstance( varName, list ) :

versus

if list == type( varName )

Just asking..

No comments: