def format(pc):
    player_txt = ('[ShinyMUD Version "%s"]\n' % VERSION +
                  _pack_player(pc) +
                  '\n[Inv Items]\n' + json.dumps(_pack_items(pc.inventory)) +
                  '\n[End Inv Items]\n'
                 )
                 
    return player_txt
Testing GeometryField's handling of null (None) geometries.
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/lib/sport_plugins/formatters/player_write_shiny_format.py/format--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/gis/tests/test_geoforms.py/GeometryFieldTest.test_null