bundles / traitlets 5.16.2 / traitlets / utils / descriptions / add_article
function
traitlets.utils.descriptions:add_article
Signature
def add_article(name: str, definite: bool = False, capital: bool = False) → strSummary
Returns the string with a prepended article.
Extended Summary
The input does not need to begin with a character.
Parameters
name: strName to which to prepend an article
definite: bool (default: False)Whether the article is definite or not. Indefinite articles being 'a' and 'an', while 'the' is definite.
capital: bool (default: False)Whether the added article should have its first letter capitalized or not.
Aliases
traitlets.traitlets.add_article