[docs] python bug i thinkso

Sandro Tosi sandro.tosi at gmail.com
Mon May 7 13:18:58 CEST 2012


Hello,
this mailing list is about bugs/enhancements to CPython documentation,
and your email doesn't fit this description. I'd suggest to contact a
user support forum, such as
http://mail.python.org/mailman/listinfo/python-list

Regards,
Sandro

On Sat, May 5, 2012 at 11:38 PM, e.kirton <teejahkirton at live.com> wrote:
> This is my code: print('#1')
>
> one = input ()
>
> one = int (one)
>
> print('#2')
>
> two = input ()
>
> two = int (two)
>
> ans = (one)+(two)
>
> print ('answer') + repr (ans)
>
> then i get this message when working the sum: Traceback (most recent call
> last):
>
>   File "C:\Python32\my.py", line 8, in <module>
>
>     print ('answer') + repr (ans)
>
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>
> Is it a bug or is it justme
>
>
> _______________________________________________
> docs mailing list
> docs at python.org
> http://mail.python.org/mailman/listinfo/docs
>



-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list