Fix Long Numeric Integer representation for Python 3

Before Python 3, long integers were input with an L suffix. Since
Python 3, all integers are 64-bit and do not need the L suffix.
This commit is contained in:
Levak Borok
2024-06-21 11:21:04 +02:00
parent 513e03c883
commit 2ae7f58a26
4 changed files with 7 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ public:
int size() const { return m_size; }
const std::vector<int>& value() const { return m_value; }
std::string repr() const;
std::string repr(PycModule* mod) const;
private:
int m_size;