diff options
Diffstat (limited to 'Doc/library/dbm.rst')
-rw-r--r-- | Doc/library/dbm.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst index 2a314dc..1c4c0a3 100644 --- a/Doc/library/dbm.rst +++ b/Doc/library/dbm.rst @@ -242,7 +242,7 @@ supported. :exc:`error` is raised if an invalid flag is specified. The optional *mode* argument is the Unix mode of the file, used only when the - database has to be created. It defaults to octal ``0666``. + database has to be created. It defaults to octal ``0o666``. In addition to the dictionary-like methods, ``gdbm`` objects have the following methods: @@ -334,7 +334,7 @@ to simplify building this module. +---------+-------------------------------------------+ The optional *mode* argument is the Unix mode of the file, used only when the - database has to be created. It defaults to octal ``0666`` (and will be + database has to be created. It defaults to octal ``0o666`` (and will be modified by the prevailing umask). |