Skip to content

Commit

Permalink
fix compatiblity with Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Apr 6, 2022
1 parent 5a0aa29 commit ddf29c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pdoc/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
import os
import types
import warnings
from collections.abc import Mapping
from pathlib import Path
from typing import cast
from typing import cast, Mapping

import jinja2
from jinja2 import Environment, FileSystemLoader
Expand Down
3 changes: 2 additions & 1 deletion pdoc/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import traceback
import warnings
import webbrowser
from collections.abc import Iterable, Iterator, Mapping
from collections.abc import Iterable, Iterator
from typing import Mapping

from pdoc import doc, extract, render
from pdoc._compat import cache, removesuffix
Expand Down

0 comments on commit ddf29c0

Please sign in to comment.