Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Update __init__.py #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/atom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def optional_warn_function(*args, **kwargs):
# Preserve the original name to avoid masking all decorated functions as
# 'deprecated_function'
try:
optional_warn_function.func_name = f.func_name
optional_warn_function.func_name = f.__name__
except TypeError:
pass # In Python2.3 we can't set the func_name
return optional_warn_function
Expand Down