From 23f8bf3795ae4827b362436fdaf74b64304d6808 2013-10-30 18:07:52 From: Thomas Kluyver Date: 2013-10-30 18:07:52 Subject: [PATCH] Correct description for Bytes traitlet type Closes gh-4463 --- diff --git a/IPython/utils/traitlets.py b/IPython/utils/traitlets.py index e4d5f83..30e5bbd 100644 --- a/IPython/utils/traitlets.py +++ b/IPython/utils/traitlets.py @@ -996,7 +996,7 @@ class Bytes(TraitType): """A trait for byte strings.""" default_value = b'' - info_text = 'a string' + info_text = 'a bytes object' def validate(self, obj, value): if isinstance(value, bytes):