Skip to content

Confusing sentence fragment in ch07-04 #2329

@alex-berliner

Description

@alex-berliner

The highlighted sentence in the following is not a complete sentence as is kind of confusing:

Although both Listing 7-11 and 7-13 accomplish the same task, Listing 7-11 is the idiomatic way to bring a function into scope with use. Bringing the function’s parent module into scope with use so we have to specify the parent module when calling the function makes it clear that the function isn’t locally defined while still minimizing repetition of the full path. The code in Listing 7-13 is unclear as to where add_to_waitlist is defined.

Suggest rewording to:

We are bringing the function’s parent module into scope with use so we have to specify the parent module when calling the function. This makes it clear that the function isn’t locally defined while still minimizing repetition of the full path.

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