Skip to content

Commit

Permalink
remove link
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Feb 26, 2024
1 parent 0c89cac commit 6c3b3a7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/nwbinspector/nwbinspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,7 @@ def validate_config(config: dict):


def _copy_function(function):
"""
Copy the core parts of a given function, excluding wrappers, then return a new function.
Based off of
https://stackoverflow.com/questions/6527633/how-can-i-make-a-deepcopy-of-a-function-in-python/30714299#30714299
"""
"""Copy the core parts of a given function, excluding wrappers, then return a new function."""
copied_function = FunctionType(
function.__code__, function.__globals__, function.__name__, function.__defaults__, function.__closure__
)
Expand Down

0 comments on commit 6c3b3a7

Please sign in to comment.