-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 21, 2008, at 12:33 PM, Ron Adam wrote:
> Barry Warsaw wrote: > >> Why should docstrings and comments be limited to 72 characters when >> code is limited to 79 characters? I ask because there is an ongoing >> debate at my company about this. > > I'm not sure if this is the main reason, but when using pydoc to view > docstrings, the 72 character width allows for the added indent in > class and > method sections. Interesting. Maybe because I almost always put doctests in separate files, I don't run into this too much. Having an indent of 4 for doctest code never really bothers me too much. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iQCVAwUBR79fdnEjvBPtnXfVAQKL0gP8DiLPO6bQEIwvcg9M7ke9Dl8QYMf3+KSV TY7o20ogh54mnm66YElJ3HFU1iomOx6CsP0gNJ2mioKCJj3iBAdGKmPb0KhJKiDa bLZc0y2Pmzw//ePspkIGZrEjDm8vps5A/iRGF58tnMdYg6f/OzfJPAmGNo6rzOl8 pI27IxE4XX4= =Xe/I -----END PGP SIGNATURE----- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com