Skip to content

Commit

Permalink
prefix origin and replace
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonz5288 committed Mar 23, 2022
1 parent b654432 commit 2653128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/taichi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
if sys.version_info.minor < 7:
for name, alter in __deprecated_names__.items():
exec(f'{name} = {alter}')
for origin, (_msg, replace) in __customized_deprecations__.items():
exec(f'{origin} = {replace}')
for _origin, (_msg, _replace) in __customized_deprecations__.items():
exec(f'{_origin} = {_replace}')
else:

def __getattr__(attr):
Expand Down

0 comments on commit 2653128

Please sign in to comment.