Author: jvloothuis
Date: Mon Jul 16 20:59:30 2007
New Revision: 45138

Modified:
   kukit/kss.pluginregistry/trunk/kss/pluginregistry/README.txt
Log:
Improved the documentation


Modified: kukit/kss.pluginregistry/trunk/kss/pluginregistry/README.txt
==============================================================================
--- kukit/kss.pluginregistry/trunk/kss/pluginregistry/README.txt        
(original)
+++ kukit/kss.pluginregistry/trunk/kss/pluginregistry/README.txt        Mon Jul 
16 20:59:30 2007
@@ -40,7 +40,16 @@
 
   >>> command_set_registry.unregister('test')
 
-Now we can safely register it again.
+Unregistering the same thing twice will throw a KeyError.
+
+  >>> command_set_registry.unregister('test')
+  Traceback (most recent call last):
+  ...
+  KeyError: ...
+
+This is because we cannot unregister what is not there.
+
+Now that the registry is clean we can safely register our command set again.
 
   >>> command_set_registry.register('test', test_command_set_factory)
 
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to