Re: return None
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: return None

From: Andreas Kostyrka <andreas@kostyrka.org>
Date: Fri Jul 22 2005 - 20:16:50 CEST

On Fri, Jul 22, 2005 at 07:40:00PM +0200, Ximo wrote:
> Can I do a function which don't return anything?
>
> The question is that, if I do a function that have a return or without
> return, it returns always "None", but i want that it doesnt return me
> nothing
Define nothing :)
None is the representation of nothing in Python ;)

Andreas
Received on Thu Sep 29 17:06:33 2005