Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.2.2. Queue font and back confused. #173

Open
AndrewTolmach opened this issue Mar 25, 2024 · 0 comments
Open

7.2.2. Queue font and back confused. #173

AndrewTolmach opened this issue Mar 25, 2024 · 0 comments

Comments

@AndrewTolmach
Copy link

[Python ed.] p. 104.

The queue is represented...using two pointers to track the front and the back of the queue, called the free pointer and the scan pointer, respectively.

This is backwards, assuming the usual terminology in which items are pushed on the back of a queue and popped from the front (as in a sentence later in this paragraph processes the tuple at the front of the queue and pops it off the queue).
The free pointer is the back of the queue (where things are pushed) and the scan pointer is the front (where things are popped).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant