From f004045dcc57b3e3d26daaf19382f73804a8fa77 Mon Sep 17 00:00:00 2001 From: Kent Lee Date: Fri, 10 Jan 2014 14:20:47 -0600 Subject: [PATCH] comment fix up --- PyException.h | 16 ++++++++-------- PyObject.cpp | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/PyException.h b/PyException.h index 41ef72a..3b2103c 100644 --- a/PyException.h +++ b/PyException.h @@ -57,14 +57,14 @@ using namespace std; class PyException: public PyObject { public: PyException(int exceptType, PyObject* val); - PyException(int exceptType, string message); + PyException(int exceptType, string message); virtual ~PyException(); int getExceptionType(); - void tracebackAppend(PyFrame* frame); + void tracebackAppend(PyFrame* frame); string toString(); - PyType* getType(); - PyObject* getTraceBack(); - void printTraceBack(); + PyType* getType(); + PyObject* getTraceBack(); + void printTraceBack(); protected: @@ -72,10 +72,10 @@ class PyException: public PyObject { * the second field within the object if the first field indicates an exception. */ int exceptionType; - PyObject* val; - vector traceback; + PyObject* val; + vector traceback; - virtual PyObject* __excmatch__(vector* args); + virtual PyObject* __excmatch__(vector* args); }; const int PYEXCEPTION = 1; diff --git a/PyObject.cpp b/PyObject.cpp index 6e9fa6b..ca58ae6 100644 --- a/PyObject.cpp +++ b/PyObject.cpp @@ -24,7 +24,7 @@ #include using namespace std; -ostream &operator <<(ostream &os, PyObject &t) { +ostream& operator <<(ostream &os, PyObject &t) { return os << t.toString(); }