/usr/lib/python3.6/dbm/ndbm.py is in libpython3.6-stdlib 3.6.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3
"""Provide the _dbm module as a dbm submodule.""" from _dbm import *