def setscreencolors(self, fgcolor=None, bgcolor=None, clear=False):
        if fgcolor is not None:
            self.fgcolor = getpygamecolor(fgcolor)
        if bgcolor is not None:
            self.bgcolor = getpygamecolor(bgcolor)
        char = clear and ' ' or None
        self.fill(char, fgcolor, bgcolor)
        self.setbrightness()
Parses an if-range header which can be an etag or a date.  Returns
dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseSurface.setscreencolors--crossover with--dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/http.py/parse_if_range_header