diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-03-01 00:57:52 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-03-01 02:53:28 +0000 |
commit | 5bfb6cdefed3754b2a15e1e3372630691392ca47 (patch) | |
tree | a5184076e1f38373395bf0206655fb4f9e0effb2 /psycopg/psycopgmodule.c | |
parent | f2e4a8ed78973a0d14dbe0d463911436562683f3 (diff) | |
download | psycopg2-5bfb6cdefed3754b2a15e1e3372630691392ca47.tar.gz |
Use more compact macros to annotate functions for the static checker
Diffstat (limited to 'psycopg/psycopgmodule.c')
-rw-r--r-- | psycopg/psycopgmodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/psycopg/psycopgmodule.c b/psycopg/psycopgmodule.c index 7d77ee1..497c42e 100644 --- a/psycopg/psycopgmodule.c +++ b/psycopg/psycopgmodule.c @@ -600,8 +600,7 @@ psyco_errors_set(PyObject *type) Create a new error of the given type with extra attributes. */ -CPYCHECKER_SETS_EXCEPTION -void +RAISES void psyco_set_error(PyObject *exc, cursorObject *curs, const char *msg, const char *pgerror, const char *pgcode) { |