Skip to content

Commit 7f96f78

Browse files
committed
Import Protocol from typing_extensions to fix py3.7
1 parent ed1a6e2 commit 7f96f78

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Python 3.7 support.
13+
1014
## [v0.4.10] - 2020-06-17
1115

1216
### Changed

snooty/target_database.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
from collections import defaultdict
55
from dataclasses import dataclass, field
66
from docutils.nodes import make_id
7-
from typing import Dict, DefaultDict, NamedTuple, Sequence, List, Protocol, Optional
7+
from typing import Dict, DefaultDict, NamedTuple, Sequence, List, Optional
8+
from typing_extensions import Protocol
89
from .types import normalize_target, FileId, ProjectConfig
910
from .cache import Cache
1011
from . import n, intersphinx, specparser

0 commit comments

Comments
 (0)