retype.extras.utils

Functions

isspace(s[, orgarbage])

Extension of str.isspace that also checks for other unicode characters that are effectively space.

isspaceorempty(s[, orgarbage])

spacerstrip(s)

update(source, overrides)

Update a nested dictionary or similar mapping.

retype.extras.utils.isspace(s, orgarbage=False)[source]

Extension of str.isspace that also checks for other unicode characters that are effectively space.

retype.extras.utils.isspaceorempty(s, orgarbage=False)[source]
retype.extras.utils.spacerstrip(s)[source]
retype.extras.utils.update(source, overrides)[source]

Update a nested dictionary or similar mapping. Modify source in place.