Adding session05 homework

I think the example used to explain this step in the homework had it in
there as a default parameter, so I thought that was how we had to set the
class up.

On Tue, Nov 11, 2014 at 1:55 PM, Christopher H.Barker, PhD <
notifications@github.com> wrote:

> In Students/RPerkins/session06/html_render.py:
>
> > +
> > +
> > +class Element(object):
> > +
> > +    tag = '<html>'
> > +    endtag = '</html>'
> > +    indent = ''
> > +
> > +    def __init__(self, content=None, **attrib):
> > +        self.attrib = attrib
> > +        self.content = [content]
> > +
> > +    def append(self, new_content):
> > +        """Check for existing content and add new_content"""
> > +
> > +        if self.content[0] is None:
>
> why put None in there in the first place? -- that just means you may have
> to deal with it later...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/UWPCE-PythonCert/IntroToPython/pull/62/files#r20183577>
> .
>



-- 
*Robert Perkins*
*Mobile:* 425-239-9269
*Email:* meshmote@gmail.com
 *Professional Profile
<http://www.linkedin.com/pub/robert-perkins/9/a6a/a91>*
<http://maps.google.com/maps?q=&hl=en>
See who we know in common
<http://www.linkedin.com/e/wwk/29505421/?hs=false&tok=0zCreXIp0dhRQ1>Want a
signature like this?
<http://www.linkedin.com/e/sig/29505421/?hs=false&tok=1-_hPrm6YdhRQ1>