On 15 dic, 08:50, Felix Benner <[EMAIL PROTECTED]> wrote:

> I thought about an AI library for python. This is the possible
> structure I came up with. Are there any thoughts about it?

Without commenting about the library itself:
None, True and False are spelled this way.
None is a singleton, compare using "x is None" or "x is not None", dont
use ==
This is more stylish, but I prefer to use isxxx() or hasxxx() for
functions that return booleans.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to