From d2266eef2c32a5abbd7ea0eeef01c1894c9c7af8 2013-10-30 22:08:44 From: Thomas Kluyver Date: 2013-10-30 22:08:44 Subject: [PATCH] Merge pull request #4464 from takluyver/bytes-traitlet-info Correct description for Bytes traitlet type --- 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):