Skip to content

index() should be replace with find() #67

@UriyaHarpeness

Description

@UriyaHarpeness

index() does not return -1 in case the string was not found, at least in python 3.6.

self.pos = self.expression.index('*/', self.pos) + 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions