Changeset 1088 for trunk/lang/python/Rappture/PyRpEncode.cc
- Timestamp:
- Aug 3, 2008 11:35:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/python/Rappture/PyRpEncode.cc
r962 r1088 93 93 "decode(data,flags)\n\ 94 94 \n\ 95 Encode the provided data with gzip compression and base64 \n\95 Decode the provided data with gzip compression and base64 \n\ 96 96 according to the provided flags"); 97 97 … … 110 110 111 111 if (PyTuple_Size(args) != 2) { 112 PyErr_SetString(PyExc_TypeError," encode() takes exactly 2 arguments");112 PyErr_SetString(PyExc_TypeError,"decode() takes exactly 2 arguments"); 113 113 return NULL; 114 114 } … … 116 116 if (!PyArg_ParseTupleAndKeywords(args, keywds, "s#i", 117 117 kwlist, &data, &dlen, &flags)) { 118 PyErr_SetString(PyExc_TypeError," encode() takes exactly 2 arguments");118 PyErr_SetString(PyExc_TypeError,"decode() takes exactly 2 arguments"); 119 119 return NULL; 120 120 }
Note: See TracChangeset
for help on using the changeset viewer.