l.a.w.t.TokensTextWidget(StrippedTextWidget) : class documentation

Part of lp.app.widgets.textwidgets View In Hierarchy

A widget that normalises the space between words.

Punctuation is removed, and extra whitespace is stripped.

Method _toFieldValue See SimpleInputWidget.
def _toFieldValue(self, input):
See SimpleInputWidget.

Accept only alphanumeric characters and '-'. Everything else is replaced with a single space.

API Documentation for Launchpad, generated by pydoctor at 2019-11-11 00:00:24.