1.1 --- a/micropython/__init__.py Sun Jul 12 03:31:48 2009 +0200
1.2 +++ b/micropython/__init__.py Sun Jul 12 22:09:41 2009 +0200
1.3 @@ -144,7 +144,7 @@
1.4
1.5 # Omit built-in function code where requested.
1.6
1.7 - if suppress_builtins and not obj.astnode.doc is not None:
1.8 + if suppress_builtins and obj.astnode.doc is None:
1.9 continue
1.10
1.11 # Generate the instantiator/initialiser.
1.12 @@ -175,7 +175,7 @@
1.13
1.14 # Omit built-in function code where requested.
1.15
1.16 - if suppress_builtins and not obj.astnode.doc is not None:
1.17 + if suppress_builtins and obj.astnode.doc is None:
1.18 pass
1.19
1.20 # Append the function code to the image.