Skip to main content

spec.hint

spec.hint(suggestion)

The text that a message ends with when a similar name exists, else the empty string.

Examples

from babregen.spec import hint

print(repr(hint("pace")), repr(hint(None)))
"; a similar name exists: 'pace'" ''