Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ coerce
Method
coerce
tests/test_traitlets.py:1869–1870 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
1867
1868
class
TestCRegExp(TraitTestBase):
1869
def
coerce(self, value):
1870
return
re.compile(value)
1871
1872
obj = CRegExpTrait()
1873
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected