Skip to content

Commit 8c42aac

Browse files
committed
no parents
1 parent 6dbe0eb commit 8c42aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpret/configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def shallow_copy(config):
313313
"""
314314

315315
if isinstance(config, ConfigDict):
316-
newconfig = ConfigDict(shallow_copy(config.config), prefix=config.prefix, parent=config.parent)
316+
newconfig = ConfigDict(shallow_copy(config.config), prefix=config.prefix)
317317
newconfig.accessed = config.accessed
318318
return newconfig
319319

0 commit comments

Comments
 (0)