Code cleanup: This condition won't ever be run #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
if close != -1 and contents[close + 1] == "[":# Link with description?close = contents.find("]", close + 1)if close != -1 and contents[close + 1] == "]":# No match here means this is not an Org linkcut_string()in_link = Truetokens.append((TOKEN_TYPE_OPEN_LINK, None))assert "[" == (next(cursor)[1])last_link_start = icontinueThis is more restrictive than the previous condition and that one finishes with a
continue, so this branch won't ever be reached.