Skip to content

Commit

Permalink
Fix dummy decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed Apr 16, 2024
1 parent 027eff5 commit 97dd010
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyteomics/proforma.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
from functools import lru_cache

except ImportError:
def lru_cache(func, *args, **kwargs):
return func
def lru_cache(maxsize=None, typed=False):
def decorator(func):
def wrapper(*args, **kwargs):
return func(*args, **kwargs)
return wrapper
return decorator

try:
from enum import Enum
Expand Down

0 comments on commit 97dd010

Please sign in to comment.