Skip to content

pexpect: PopenSpawn() env arg hint could be improved #14915

@wRAR

Description

@wRAR

Currently the hint says that env is os._Environ[str] | None, but in practice it's not as specific. It's passed unmodified to subprocess.Popen, so maybe it should simply be subprocess._ENV if that's possible and allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: improvementImprove/refactor existing annotations, other stubs issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions