Renaming getPyDict to getPyObject for consistency with BaseClass

This commit is contained in:
Abdullah Tahiri
2017-05-12 23:11:38 +02:00
committed by wmayer
parent b410f8857c
commit a7bc962ce5
4 changed files with 14 additions and 14 deletions

View File

@@ -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()