Skip to content
Browse files

Improve CRegExp docstring.

  • Loading branch information...
1 parent 9d723ae commit 2fc3cffc921077856a98e7eb0f625b7ef353b139 @bfroehle committed May 9, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 IPython/utils/
5 IPython/utils/
@@ -1413,7 +1413,10 @@ def validate(self, obj, value):
self.error(obj, value)
class CRegExp(TraitType):
- """A trait for a compiled regular expression."""
+ """A casting compiled regular expression trait.
+ Accepts both strings and compiled regular expressions. The resulting
+ attribute will be a compiled regular expression."""
info_text = 'a regular expression'

0 comments on commit 2fc3cff

Please sign in to comment.
Something went wrong with that request. Please try again.