[Python-checkins] r71463 - python/branches/py3k-short-float-repr/Python/pystrtod.c

mark.dickinson python-checkins at python.org
Sat Apr 11 13:37:38 CEST 2009


Author: mark.dickinson
Date: Sat Apr 11 13:37:37 2009
New Revision: 71463
Log:
line-length fixes
Modified:
 python/branches/py3k-short-float-repr/Python/pystrtod.c
Modified: python/branches/py3k-short-float-repr/Python/pystrtod.c
==============================================================================
--- python/branches/py3k-short-float-repr/Python/pystrtod.c	(original)
+++ python/branches/py3k-short-float-repr/Python/pystrtod.c	Sat Apr 11 13:37:37 2009
@@ -804,7 +804,7 @@
 		break;
 	case 'g':
 		mode = 2;
-		/* precision of 0 makes no sense for 'g' format; interpret as 1 */
+		/* precision 0 makes no sense for 'g' format; interpret as 1 */
 		if (precision == 0)
 			precision = 1;
 		break;
@@ -830,6 +830,7 @@
 
 	return format_float_short(val, lc_format_code, mode, precision,
 				 flags & Py_DTSF_SIGN,
-				 flags & Py_DTSF_ADD_DOT_0, flags & Py_DTSF_ALT,
+				 flags & Py_DTSF_ADD_DOT_0,
+				 flags & Py_DTSF_ALT,
 				 float_strings);
 }


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /