Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.


Functions to humanize values.


Humanizes a list of values, inserting commas and “and” where appropriate.

Example List

Resulting string



["a", "b"]

"a and b"

["a", "b", "c"]

"a, b and c"

["a", "b", "c", "d"]

"a, b, c, and d"