Skip to content

Quickstart Example does not work #158

@Sand1929

Description

@Sand1929

On cssselect==1.3.0 (but not cssselect==1.2.0), the Quickstart example does not work:

from cssselect import GenericTranslator, SelectorError
expression = GenericTranslator().css_to_xpath('div.content')

throws TypeError: unhashable type: 'list'

(Python : sys.version_info(major=3, minor=9, micro=1, releaselevel='final', serial=0))

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