Fix PycCode incompatibility with Python 1.0

This commit is contained in:
Michael Hansen
2018-04-26 15:13:52 -07:00
parent 0c3955883f
commit 7f63529d49
3 changed files with 24 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ public:
const value_t& values() const { return m_values; }
PycRef<PycObject> get(int idx) const { return m_values.at(idx); }
static PycRef<PycTuple> fromList(const PycRef<class PycList>& obj);
private:
value_t m_values;
};