I added more to the docstring: the main purpose of segment.py is not to be run as a main program, but to be called during the extract phase.  So every time we extract strings, they are segmented.  The result is that a new string will go into django-partial.po or django-studio.po, etc, as appropriate.