Sometimes a bit clearer, or shorter.  
Sometimes docstrings more python-standard.
Sometimes a spelling correction.

95,97c307,310
<     """Convert an attribute list as generated by the sgml parser
<     class (a list of (key, value) tuples into a dictionary for easier
<     use"""
---
>     """Convert [(attr1,val), (attr2,val) ...] to {attr1:val, attr2:val}
>     
>     The sgml parser returns attributes as a list of key-value pairs. 
>     This function puts them in a dictionary, for more easier use."""



(This change was added inside the docstring of def _clean_newlines (text):)

136a350,351
>     
>     XXX Should use universal newlines now.



263,264c479
<         """Push the style for 'tag' onto the stack.  Return true if this
is a
<         change in style."""
---
>         """Push the style for 'tag' onto the stack.  Return True if style
changed."""
     

628,629c826,829
<         """Find a split of line so that one part is approx. size bytes
<         long.  Return (first_part, rest)."""
---
>         """Find a split of line so that one part is approx. size bytes
long.
>         
>         Return (first_part, rest).
>         """

(spelling of during)

825c1029
<         # (This gets temporarily set to false durign parse of headers.)
---
>         # (This gets temporarily set to false during parse of headers.)

(deprecated vs depreciated)

889c1093
<             'basefont': 1, #specifies the font to use for a page if not
otherwise specified. Depreciated
---
>             'basefont': 1, #specifies the font to use for a page if not
otherwise specified. Deprecated
892c1096
< 
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to