From e4158c31f6152da8e3f0317ffd0364f0ecdb138f 2015-03-27 15:12:28
From: Jason Grout <jgrout6@bloomberg.net>
Date: 2015-03-27 15:12:28
Subject: [PATCH] Correct documentation

---

diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py
index 4dfa7d2..c4aaff7 100644
--- a/IPython/html/widgets/widget.py
+++ b/IPython/html/widgets/widget.py
@@ -455,18 +455,14 @@ class Widget(LoggingConfigurable):
         self._display_callbacks(self, **kwargs)
 
     def _trait_to_json(self, x):
-        """Convert a trait value to json
+        """Convert a trait value to json.
 
-        Traverse lists/tuples and dicts and serialize their values as well.
-        Replace any widgets with their model_id
+        Metadata (the second return value) is not sent
         """
         return x, None
 
     def _trait_from_json(self, x):
-        """Convert json values to objects
-
-        Replace any strings representing valid model id values to Widget references.
-        """
+        """Convert json values to objects."""
         return x
 
     def _ipython_display_(self, **kwargs):