Show More
@@ -996,7 +996,7 b' class Bytes(TraitType):' | |||||
996 | """A trait for byte strings.""" |
|
996 | """A trait for byte strings.""" | |
997 |
|
997 | |||
998 | default_value = b'' |
|
998 | default_value = b'' | |
999 |
info_text = 'a st |
|
999 | info_text = 'a bytes object' | |
1000 |
|
1000 | |||
1001 | def validate(self, obj, value): |
|
1001 | def validate(self, obj, value): | |
1002 | if isinstance(value, bytes): |
|
1002 | if isinstance(value, bytes): |
General Comments 0
You need to be logged in to leave comments.
Login now