File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -394,11 +394,11 @@ Database Reader Exceptions
394394--------------------------
395395
396396If the database file does not exist or is not readable, the constructor will
397- raise a ``FileNotFoundError ``. If the IP address passed to a method is
398- invalid, a ``ValueError `` will be raised. If the file is invalid or there is a
399- bug in the reader, a ``maxminddb.InvalidDatabaseError `` will be raised with a
400- description of the problem. If an IP address is not in the database, a
401- ``AddressNotFoundError `` will be raised.
397+ raise a ``FileNotFoundError `` or a `` PermissionError ``. If the IP address passed
398+ to a method is invalid, a ``ValueError `` will be raised. If the file is invalid
399+ or there is a bug in the reader, a ``maxminddb.InvalidDatabaseError `` will be
400+ raised with a description of the problem. If an IP address is not in the
401+ database, a ``AddressNotFoundError `` will be raised.
402402
403403Values to use for Database or Dictionary Keys
404404---------------------------------------------
You can’t perform that action at this time.
0 commit comments