From ddf2178d834d91ff695450c7f67a6478a80232da Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 12 Jan 2014 23:30:20 +0200 Subject: Refactor exception objects to have better impl of Python-side interface. This implements internal args tuple of arguments, while still keeping object useful for reporting C-side errors. Further elaboration is needed. --- tests/basics/tests/exception1.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/basics/tests/exception1.py (limited to 'tests/basics') diff --git a/tests/basics/tests/exception1.py b/tests/basics/tests/exception1.py new file mode 100644 index 000000000..95d933de7 --- /dev/null +++ b/tests/basics/tests/exception1.py @@ -0,0 +1,3 @@ +# TODO: requires repr() +#a = IndexError(1, "test", [100, 200]) +#print(repr(a)) -- cgit v1.2.3