Unverified Commit 4147d49b authored by Kevin Albertson's avatar Kevin Albertson
Browse files

CDRIVER-4767 Support Python 3.6 in man page build (#1504)

* remove use of `:=`

Assignment expressions were introduced in Python 3.8

* use `typing.Union` instead of `|`

Writing union types as `X | Y` was introduced in Python 3.10.

* do not use Union `|` operator

The Union `|` operator was added in Python 3.9. See: PEP 584

* use `typing.List` and `typing.Dict`

Type hinting for `list`, `dict` was added in Python 3.9. See: PEP 585
parent dc6fd828
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment