Name
tag_remove
Synopsis
t
.tag_remove(tag
,i
[,j
])
t
.tag_remove(
tag
,i
)
removes tag tag
from the single character
at index i
in
t
.
t
.tag_remove(
tag
,i
,j
)
removes tag tag
from characters from index
i
to index j
.
Removing a tag from characters that do not have that tag is not an
error; it’s an innocuous no-operation.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.