Skip to content

Document that sparse identifiers with whitespace are valid if quoted #1226

@matthewfeickert

Description

@matthewfeickert

As a related improvement, we could also show that it's possible to use sparse identifiers with actual whitespaces when quoted. Like pip ~= 23.1, or resolvelib > 0.5, != 0.6.0. I think, this makes them more readable and this style should be used in human-maintained files (as opposed to the tool-generated ones, like constraint pins made with pip-tools).

Originally posted by @webknjaz in #1225 (comment)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions