commit d11edd582aa849f40551a7bfe06d2f2efc366c3c
Author: David Malcolm <dmalcolm(a)redhat.com>
Date: Wed Jul 27 14:53:16 2011 -0400
Fix gcc.Pass.__repr__
gcc-python-pass.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcc-python-pass.c b/gcc-python-pass.c
index 2b4b7ef..454ec72 100644
--- a/gcc-python-pass.c
+++ b/gcc-python-pass.c
@@ -28,7 +28,7 @@
PyObject *
gcc_Pass_repr(struct PyGccPass *self)
{
- return gcc_python_string_from_format("gcc.%s(name='%s')",
+ return gcc_python_string_from_format("%s(name='%s')",
Py_TYPE(self)->tp_name,
self->pass->name);
}
Show replies by date