Skip to content
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
4 changes: 2 additions & 2 deletions quantecon/lqnash.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __dir__():


def __getattr__(name):
if name not in __all__:
if name != 'nnash':
raise AttributeError(
"`quantecon.lqnash` is deprecated and has no attribute "
f"'{name}'."
Expand All @@ -25,4 +25,4 @@ def __getattr__(name):
f" the following instead:\n `from quantecon import {name}`.",
category=DeprecationWarning, stacklevel=2)

return getattr(_lqnash, name)
return _lqnash.nnash