No real changes, just make PYTHON::check_kwargs() const.

This will allow calling it from const methods too.
This commit is contained in:
Vadim Zeitlin 2014-08-16 13:08:46 +02:00
commit 1f41850e34

View file

@ -2125,7 +2125,7 @@ public:
* check if using kwargs is allowed for this Node
* ------------------------------------------------------------ */
int check_kwargs(Node *n) {
int check_kwargs(Node *n) const {
return (use_kw || GetFlag(n, "feature:kwargs"))
&& !GetFlag(n, "memberset") && !GetFlag(n, "memberget");
}