Skip to content

PEP 554: Minor typo in example code: create_fifo->create_channel #1229

Closed
dimitern/peps
#1
@dimitern

Description

@dimitern

I found a minor typo here:
https://www.python.org/dev/peps/pep-0554/#passing-objects-via-marshal

In the example code for *Passing objects via marshal", I suspect perhaps an older version of the module API was used (create_fifo()):

interp = interpreters.create()
r, s = interpreters.create_fifo()

should most likely be:

interp = interpreters.create()
r, s = interpreters.create_channel()

Related comment link: ericsnowcurrently/multi-core-python#20 (comment)
Re: @ericsnowcurrently

I'm preparing a PR for the suggested change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions