Changes between Version 5 and Version 6 of PythonPort/Design


Ignore:
Timestamp:
Oct 19, 2007, 3:58:50 PM (18 years ago)
Author:
Daniel Wallin
Comment:

use proper booleans

Legend:

Unmodified
Added
Removed
Modified
  • PythonPort/Design

    v5 v6  
    105105}}}
    106106
     107Python has booleans. Don't use `0` or `1` instead of `False` and `True`.
     108
     109'''NO'''
     110{{{
     111def add_constant(self, name, value, path=0):
     112}}}
     113
     114'''YES'''
     115{{{
     116def add_constant(self, name, value, path=False):
     117}}}
     118
    107119
    108120== Design: Physical structure ==