MCPcopy Create free account
hub / github.com/PageBot/PageBot / __repr__

Method __repr__

Lib/pagebot/document.py:1285–1289  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1283 def __len__(self):
1284 return len(self.children)
1285 def __repr__(self):
1286 l = []
1287 for child in self.children:
1288 l.append(child.path)
1289 return '<%s path=%s page=%s %s>' % (self.__class__.__name__, self.path, self.page, l)
1290 def show(self, tab=0):
1291 print('\t'*tab, id(self), self)
1292 for child in self.children:

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected