It is syntax used for templating.
Here is the documentation (in section "Format String Syntax")
http://docs.python.org/2/library/string.html