diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2014-09-08 18:24:19 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2014-09-08 18:24:19 -0700 |
commit | d1a5e27c5e01e5a7d6c0df8a5a4a828459dbcb39 (patch) | |
tree | 983d2772bc1f5b9629d101fc25a6ab35e922c122 | |
parent | e9e25b7de9cbf329abadd0f65b3d5a2b484f74b0 (diff) | |
download | pyscss-d1a5e27c5e01e5a7d6c0df8a5a4a828459dbcb39.tar.gz |
Clarify that this argument passing behavior is not a deviation.
-rw-r--r-- | scss/compiler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/compiler.py b/scss/compiler.py index 258a54b..8e5016c 100644 --- a/scss/compiler.py +++ b/scss/compiler.py @@ -594,9 +594,9 @@ class Compilation(object): # Try keyword arguments value = kwargs.pop(var_name) elif node is not None: - # OK, there's a default argument; try that - # DEVIATION: this allows argument defaults to refer to earlier - # argument values + # OK, try the default argument. Using callee_calculator means + # that default values of arguments can refer to earlier + # arguments' values; yes, that is how Sass works. value = node.evaluate(callee_calculator, divide=True) else: # TODO this should raise |