scipy.sparse.dok_matrix.fromkeys
scipy.sparse.dok_matrix.getH
This overrides the dict.get method, providing type checking but otherwise equivalent functionality.