You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using Python 3.13 and learning about itertools.tee from the official Python documentation. I copied the example code for the lookahead function, but when I ran it in the REPL, the output wasn’t the same as described in the documentation.
Look at the pictures below for more details about the diffrent output between REPL and documentation.
Enviroment
Windows 11 23H2 22631.4602
Python 3.13.0 (tags/v3.13.0:60403a5, Oct 7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)] on win32
The text was updated successfully, but these errors were encountered:
Snoopy1866
changed the title
docs: the result of running example code of itertools.tee is not correct
Docs: the result of running example code of itertools.tee is not correct
Dec 31, 2024
Documentation
I’m using Python 3.13 and learning about itertools.tee from the official Python documentation. I copied the example code for the lookahead function, but when I ran it in the REPL, the output wasn’t the same as described in the documentation.
Look at the pictures below for more details about the diffrent output between REPL and documentation.
Enviroment
The text was updated successfully, but these errors were encountered: