MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / __setattr__

Method __setattr__

asyncpg/exceptions/_base.py:277–279  ·  view source on GitHub ↗
(self, name, val)

Source from the content-addressed store, hash-verified

275 return '{}: {}'.format(type(self).__name__, self.message)
276
277 def __setattr__(self, name, val):
278 raise TypeError('instances of {} are immutable'.format(
279 type(self).__name__))
280
281 @classmethod
282 def new(cls, fields, query=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected