I'm not sure of a good heuristic.  We need to be able to test if 'no' delimiter works ("None"?) Thus I'm not sure we can just say 
<code>
if delimiter = None: 
    delimiter = ":"
</code>