MCPcopy Index your code
hub / github.com/pyload/pyload / __setattr__

Method __setattr__

module/lib/feedparser.py:358–362  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

356 raise AttributeError, "object has no attribute '%s'" % key
357
358 def __setattr__(self, key, value):
359 if key.startswith('_') or key == 'data':
360 self.__dict__[key] = value
361 else:
362 return self.__setitem__(key, value)
363
364 def __contains__(self, key):
365 return self.__has_key(key)

Callers

nothing calls this directly

Calls 1

__setitem__Method · 0.95

Tested by

no test coverage detected