Skip to content

Commit 1f2f571

Browse files
benbariteaubenjaminp
authored andcommitted
Add ndbm move. (#299)
1 parent a997033 commit 1f2f571

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

documentation/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ Supported renames:
586586
+------------------------------+-------------------------------------+---------------------------------------+
587587
| ``dbm_gnu`` | :func:`py2:gdbm` | :class:`py3:dbm.gnu` |
588588
+------------------------------+-------------------------------------+---------------------------------------+
589+
| ``dbm_ndbm`` | :func:`py2:dbm` | :func:`py3:dbm.ndbm` |
590+
+------------------------------+-------------------------------------+---------------------------------------+
589591
| ``_dummy_thread`` | :mod:`py2:dummy_thread` | :mod:`py3:_dummy_thread` |
590592
+------------------------------+-------------------------------------+---------------------------------------+
591593
| ``email_mime_base`` | :mod:`py2:email.MIMEBase` | :mod:`py3:email.mime.base` |

six.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ class _MovedItems(_LazyModule):
257257
MovedModule("configparser", "ConfigParser"),
258258
MovedModule("copyreg", "copy_reg"),
259259
MovedModule("dbm_gnu", "gdbm", "dbm.gnu"),
260+
MovedModule("dbm_ndbm", "dbm", "dbm.ndbm"),
260261
MovedModule("_dummy_thread", "dummy_thread", "_dummy_thread"),
261262
MovedModule("http_cookiejar", "cookielib", "http.cookiejar"),
262263
MovedModule("http_cookies", "Cookie", "http.cookies"),

0 commit comments

Comments
 (0)