Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48022db commit fd49a96Copy full SHA for fd49a96
2 files changed
Doc/lib/libfuncs.tex
@@ -606,7 +606,7 @@ \section{Built-in Functions}
606
607
\bcode\begin{verbatim}
608
>>> import types
609
->>> if type(x) == types.StringType: print "It's a string"
+>>> if isinstance(x, types.StringType): print "It's a string"
610
\end{verbatim}\ecode
611
\end{funcdesc}
612
Doc/libfuncs.tex
0 commit comments