Skip to content

Commit c602b70

Browse files
authored
Replace two occurrences of AdaptedTo with Supports. (#532)
1 parent 44daadb commit c602b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

traits/trait_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3160,7 +3160,7 @@ def allow_none(self):
31603160

31613161
def init_fast_validate(self):
31623162
""" Does nothing for the BaseInstance' class. Used by the 'Instance',
3163-
'AdaptedTo' and 'AdaptsTo' classes to set up the C-level fast
3163+
'Supports' and 'AdaptsTo' classes to set up the C-level fast
31643164
validator.
31653165
"""
31663166
pass
@@ -3247,7 +3247,7 @@ def post_setattr(self, object, name, value):
32473247
def as_ctrait(self):
32483248
""" Returns a CTrait corresponding to the trait defined by this class.
32493249
"""
3250-
return self.modify_ctrait(super(AdaptedTo, self).as_ctrait())
3250+
return self.modify_ctrait(super(Supports, self).as_ctrait())
32513251

32523252
def modify_ctrait(self, ctrait):
32533253

0 commit comments

Comments
 (0)