Skip to content

Commit 13f6a07

Browse files
committed
Use getfullargspec over deprecated getargspec
This fixes #188
1 parent e5b9237 commit 13f6a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def from_lambda(cls, name, lambda_):
107107
:rtype: :class:`SassFunction`
108108
109109
"""
110-
argspec = inspect.getargspec(lambda_)
111-
if argspec.varargs or argspec.keywords or argspec.defaults:
110+
argspec = inspect.getfullargspec(lambda_)
111+
if argspec.varargs or argspec.varkw or argspec.defaults:
112112
raise TypeError(
113113
'functions cannot have starargs or defaults: {0} {1}'.format(
114114
name, lambda_

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy