Skip to content

Commit 13ba214

Browse files
committed
Update docs
1 parent 279051d commit 13ba214

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/changelog/v2.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ Changes
3232
.......
3333

3434
* Dropped support for Python 3.7, 3.8 and 3.9
35-
* Added support for Python 3.12
35+
* Added support for Python 3.11 and 3.12
3636
* With `Python 3.10 requiring OpenSSL v1.1.1 or newer
3737
<https://peps.python.org/pep-0644/>`_, TLS v1.3 is now officially supported

pynetdicom/transport.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
_HAS_SSL = True
1616
except ImportError:
17+
# NOTE: Must check `_HAS_SSL` before all use of `ssl` module
18+
# and must use "ssl.SSLContext" in type hints
1719
_HAS_SSL = False
1820
import threading
1921
from typing import TYPE_CHECKING, Any, cast, Callable, Optional

0 commit comments

Comments
 (0)