On 03/29/2013 05:40 AM, Steven D'Aprano wrote:
On Thu, 28 Mar 2013 22:37:47 +0300, Habibutsu wrote:
For example, we have following code:
01|def foo():
02|return 1
03|
04|value = foo()
05|
06|if value == 1:
07|print value,"- equal 1"
08|
09|if isinstance(value,
On Thu, 28 Mar 2013 22:37:47 +0300, Habibutsu wrote:
> For example, we have following code:
>
> 01|def foo():
> 02|return 1
> 03|
> 04|value = foo()
> 05|
> 06|if value == 1:
> 07|print value,"- equal 1"
> 08|
> 09|if isinstance(value, int):
> 10|print val