Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ setData
Method
setData
recipes/Python/298721_xml2obj_II/recipe-298721.py:157–161 ·
view source on GitHub ↗
( self, data )
Source
from the content-addressed store, hash-verified
155
156
157
def
setData( self, data ):
158
159
if
string.strip( data ):
160
data = data.encode( )
161
self.data = data
162
163
164
Callers
1
endElement
Method · 0.45
Calls
2
strip
Method · 0.45
encode
Method · 0.45
Tested by
no test coverage detected