(self, url)
| 906 | """ |
| 907 | |
| 908 | def _get_css(self, url): |
| 909 | path_here = os.path.dirname(os.path.realpath(__file__)) |
| 910 | css_path = os.path.join(path_here, "..", "pydoc_data", "_pydoc.css") |
| 911 | with open(css_path, mode="rb") as fp: |
| 912 | return fp.read() |
| 913 | |
| 914 | def do_GET(self): |
| 915 | """Handles the HTTP GET request. |