230: Renamed allow_None kwarg to allow_none

This commit is contained in:
Jason Gerard DeRose
2008-09-02 17:44:07 +00:00
parent f2da06c5cf
commit bc08225dcd
3 changed files with 15 additions and 15 deletions

View File

@@ -95,7 +95,7 @@ class Option2(plugable.ReadOnly):
self.multivalue = check_type(multivalue, bool, 'multivalue')
self.default = default
self.default_from = check_type(default_from,
DefaultFrom, 'default_from', allow_None=True)
DefaultFrom, 'default_from', allow_none=True)
self.__normalize = normalize
self.rules = (type_.validate,) + rules
lock(self)