##// END OF EJS Templates
Merge pull request #4464 from takluyver/bytes-traitlet-info...
Thomas Kluyver -
r13433:d2266eef merge
parent child Browse files
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 string'
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