Skip to content

Commit a7dbe0b

Browse files
committed
Fix TypeRegistry docstring
1 parent c6ed94c commit a7dbe0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bson/codec_options.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ class TypeCodec(TypeEncoder, TypeDecoder):
108108

109109
class TypeRegistry:
110110
"""Encapsulates type codecs used in encoding and / or decoding BSON, as
111-
well as the fallback encoder.
111+
well as the fallback encoder. Type registries cannot be modified after
112+
instantiation.
112113
113114
``TypeRegistry`` can be initialized with an iterable of type codecs, and
114115
a callable for the fallback encoder::

0 commit comments

Comments
 (0)