Skip to content

Commit

Permalink
Patching inspect for compat with Python 3.11
Browse files Browse the repository at this point in the history
Patching the inspect module for compatibility with Python 3.11.
The solution was found here: pyinvoke/invoke#833 (comment)
  • Loading branch information
leforestier authored and Just Testing committed Feb 11, 2025
1 parent 7428553 commit 9049419
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions naval/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import inspect
if not hasattr(inspect, 'getargspec'):
inspect.getargspec = inspect.getfullargspec
from validators import email, domain, ValidationFailure
from naval.core import *
from postpone import LazyString as _
Expand Down

0 comments on commit 9049419

Please sign in to comment.