Renaming getPyDict to getPyObject for consistency with BaseClass
This commit is contained in:
@@ -85,9 +85,9 @@ public:
|
||||
/// intended to use via macro for autofilling of debugging information
|
||||
inline void setDebugInformation(const std::string & file, const int line, const std::string & function);
|
||||
/// returns a Python dictionary containing the exception data
|
||||
virtual PyObject * getPyDict() const;
|
||||
virtual PyObject * getPyObject(void) const;
|
||||
/// returns sets the exception data from a Python dictionary
|
||||
virtual void setPyDict( PyObject * pydict);
|
||||
virtual void setPyObject( PyObject * pydict);
|
||||
|
||||
protected:
|
||||
public: // FIXME: Remove the public keyword
|
||||
@@ -193,9 +193,9 @@ public:
|
||||
/// Get file name for use with tranlatable message
|
||||
std::string getFileName() const;
|
||||
/// returns a Python dictionary containing the exception data
|
||||
virtual PyObject * getPyDict() const;
|
||||
virtual PyObject * getPyObject(void) const;
|
||||
/// returns sets the exception data from a Python dictionary
|
||||
virtual void setPyDict( PyObject * pydict);
|
||||
virtual void setPyObject( PyObject * pydict);
|
||||
protected:
|
||||
FileInfo file;
|
||||
// necesary for what() legacy behaviour as it returns a buffer that can not be of a temporary object to be destroyed at end of what()
|
||||
|
||||
Reference in New Issue
Block a user