[Python-checkins] r57100 - python/branches/alex-py3k/Modules/_stringiomodule.c

alexandre.vassalotti python-checkins at python.org
Thu Aug 16 21:01:47 CEST 2007


Author: alexandre.vassalotti
Date: Thu Aug 16 21:01:40 2007
New Revision: 57100

Modified:
   python/branches/alex-py3k/Modules/_stringiomodule.c
Log:
Remove space after type-casts.


Modified: python/branches/alex-py3k/Modules/_stringiomodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_stringiomodule.c	(original)
+++ python/branches/alex-py3k/Modules/_stringiomodule.c	Thu Aug 16 21:01:40 2007
@@ -550,43 +550,43 @@
 
 
 static PyGetSetDef StringIO_getsetlist[] = {
-    {"closed", (getter) stringio_get_closed, NULL,
+    {"closed", (getter)stringio_get_closed, NULL,
      "True if the file is closed"},
-    {"_buffer", (getter) stringio_getvalue, (setter) stringio_setvalue,
+    {"_buffer", (getter)stringio_getvalue, (setter)stringio_setvalue,
      NULL},
     {0},            /* sentinel */
 };
 
 static struct PyMethodDef StringIO_methods[] = {
-    {"readable",   (PyCFunction) generic_true, METH_NOARGS,
+    {"readable",   (PyCFunction)generic_true, METH_NOARGS,
      generic_true_doc},
-    {"seekable",   (PyCFunction) generic_true, METH_NOARGS,
+    {"seekable",   (PyCFunction)generic_true, METH_NOARGS,
      generic_true_doc},
-    {"writable",   (PyCFunction) generic_true, METH_NOARGS, 
+    {"writable",   (PyCFunction)generic_true, METH_NOARGS, 
      generic_true_doc},
-    {"flush",      (PyCFunction) stringio_flush, METH_NOARGS,
+    {"flush",      (PyCFunction)stringio_flush, METH_NOARGS,
      StringIO_flush_doc},
-    {"getvalue",   (PyCFunction) stringio_getvalue, METH_VARARGS,
+    {"getvalue",   (PyCFunction)stringio_getvalue, METH_VARARGS,
      StringIO_getval_doc},
-    {"isatty",     (PyCFunction) stringio_isatty, METH_NOARGS,
+    {"isatty",     (PyCFunction)stringio_isatty, METH_NOARGS,
      StringIO_isatty_doc},
-    {"read",       (PyCFunction) stringio_read, METH_VARARGS,
+    {"read",       (PyCFunction)stringio_read, METH_VARARGS,
      StringIO_read_doc},
-    {"readline",   (PyCFunction) stringio_readline, METH_VARARGS,
+    {"readline",   (PyCFunction)stringio_readline, METH_VARARGS,
      StringIO_readline_doc},
-    {"readlines",  (PyCFunction) stringio_readlines, METH_VARARGS,
+    {"readlines",  (PyCFunction)stringio_readlines, METH_VARARGS,
      StringIO_readlines_doc},
-    {"tell",       (PyCFunction) stringio_tell, METH_NOARGS,
+    {"tell",       (PyCFunction)stringio_tell, METH_NOARGS,
      StringIO_tell_doc},
-    {"truncate",   (PyCFunction) stringio_truncate, METH_VARARGS,
+    {"truncate",   (PyCFunction)stringio_truncate, METH_VARARGS,
      StringIO_truncate_doc},
-    {"close",      (PyCFunction) stringio_close, METH_NOARGS,
+    {"close",      (PyCFunction)stringio_close, METH_NOARGS,
      StringIO_close_doc},
-    {"seek",       (PyCFunction) stringio_seek, METH_VARARGS,
+    {"seek",       (PyCFunction)stringio_seek, METH_VARARGS,
      StringIO_seek_doc},
-    {"write",      (PyCFunction) stringio_write, METH_O,
+    {"write",      (PyCFunction)stringio_write, METH_O,
      StringIO_write_doc},
-    {"writelines", (PyCFunction) stringio_writelines, METH_O,
+    {"writelines", (PyCFunction)stringio_writelines, METH_O,
      StringIO_writelines_doc},
     {NULL, NULL}        /* sentinel */
 };


More information about the Python-checkins mailing list