Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Commit

Permalink
Updated import to support Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephRyanPeterson committed Nov 15, 2021
1 parent 83bf196 commit 572de99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sphinxcontrib/napoleon/docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

import inspect
import re
from collections import Callable
try:
from collections.abc import Callable
except ImportError:
from collections import Callable
from functools import partial

from six import string_types, u
Expand Down

0 comments on commit 572de99

Please sign in to comment.