From: Daniele Varrazzo Date: Sat, 13 Nov 2021 22:08:05 +0000 (+0100) Subject: Docs typo fixed X-Git-Tag: 3.0.4~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3673c4d59bfe20c89fbd5560daf1f2db72cb9e3;p=thirdparty%2Fpsycopg.git Docs typo fixed --- diff --git a/docs/basic/pgtypes.rst b/docs/basic/pgtypes.rst index a9e00e94e..dadfc5dbb 100644 --- a/docs/basic/pgtypes.rst +++ b/docs/basic/pgtypes.rst @@ -203,7 +203,7 @@ sequence of `~psycopg.types.range.Range` elements. `!Multirange` objects are a `~collections.abc.MutableSequence` and are totally ordered: they behave pretty much like a list of `!Range`. Like Range, they are `~typing.Generic` on the subtype of their range, so you - can declare a variable to be `!Multitype[date]` and mypy will complain if + can declare a variable to be `!Multirange[date]` and mypy will complain if you try to add it a `Range[Decimal]`. Like for `~psycopg.types.range.Range`, built-in multirange objects are adapted