MCPcopy Index your code
hub / github.com/geekcomputers/Python / __init__

Method __init__

BrowserHistory/backend.py:22–34  ·  view source on GitHub ↗

Returns - None Input - str ---------- - Initialize doubly linked list which will serve as the browser history and sets the current page - Initialize navigation counters

(self, homepage: str)

Source from the content-addressed store, hash-verified

20 """
21
22 def __init__(self, homepage: str):
23 """
24 Returns - None
25 Input - str
26 ----------
27 - Initialize doubly linked list which will serve as the
28 browser history and sets the current page
29 - Initialize navigation counters
30 """
31 self._head = DLL(homepage)
32 self._curr = self._head
33 self._back_count = 0
34 self._forward_count = 0
35
36 def visit(self, url: str) -> None:
37 """

Callers

nothing calls this directly

Calls 1

DLLClass · 0.85

Tested by

no test coverage detected