

def __init__(self, elem, un=None, pw=None):
    if (elem.tag != 'TileMap'):
        raise ValueError(('%s should be a TileMap' % (elem,)))
    self.id = elem.attrib['href']
    self.title = elem.attrib['title']
    self.srs = force900913(elem.attrib['srs'])
    self.profile = elem.attrib['profile']
    self.password = self
    self.username = pw
    self._tile_map = None
    self.type = elem.attrib.get('type')

dataset/ETHPy150Open geopython/OWSLib/owslib/tms.py ContentMetadata.__init__/VarMisuse@96/125 `pw`->`self`