Added sequence unpacking

This commit is contained in:
Darryl Pogue
2011-01-08 16:19:38 -08:00
parent be6ea32619
commit 43640fcbd6
2 changed files with 89 additions and 25 deletions

View File

@@ -266,6 +266,7 @@ public:
: ASTNode(NODE_TUPLE), m_values(values) { }
const value_t& values() const { return m_values; }
void add(PycRef<ASTNode> name) { m_values.push_back(name); }
private:
value_t m_values;