diff options
| author | Johan Dahlin <johan@gnome.org> | 2008-07-18 08:28:51 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-18 08:28:51 +0000 |
| commit | f0e9c1f49c718a34986cf74821f5ef809217c65c (patch) | |
| tree | 33f01618b4989fd932bbcd066e5068c839b6b9b1 /gio | |
| parent | 7f0bd05620ae6ece9e324345c7e0270631c5a127 (diff) | |
| download | pygobject-f0e9c1f49c718a34986cf74821f5ef809217c65c.tar.gz pygobject-f0e9c1f49c718a34986cf74821f5ef809217c65c.tar.xz pygobject-f0e9c1f49c718a34986cf74821f5ef809217c65c.zip | |
Use %zd instead of %d since it's a Py_ssize_t and not an int.
2008-07-18 Johan Dahlin <johan@gnome.org>
* gio/gfile.override:
Use %zd instead of %d since it's a Py_ssize_t and not an int.
svn path=/trunk/; revision=827
Diffstat (limited to 'gio')
| -rw-r--r-- | gio/gfile.override | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gfile.override b/gio/gfile.override index 49b12aa..2d299ab 100644 --- a/gio/gfile.override +++ b/gio/gfile.override @@ -72,7 +72,7 @@ _wrap__file_init(PyGObject *self, PyObject *args, PyObject *kwargs) } } else { PyErr_Format(PyExc_TypeError, - "gio.File() takes exactly 1 argument (%d given)", + "gio.File() takes exactly 1 argument (%zd given)", n_args + n_kwargs); return NULL; } |
