Yep, that's definitely wrong, thank you for spotting it! I suspect you may find other type-confusion problems in the docs, which don't really have type-checking or testing applied to them.
-g > On Dec 26, 2024, at 2:04 PM, Kirill Miazine <[email protected]> wrote: > > While browsing through the twisted.web docs, I noticed following: > > Hello's getChild() method on > https://docs.twisted.org/en/stable/web/howto/using-twistedweb.html#resource-objects > has a typo. It says > > if name == '': > > where it should have said: > > if name == b'': > > Greetz > Kirill > _______________________________________________ > Twisted mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/twisted.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/22XYQVUVLYEKU46ZBF3TJ2C3KXFYTJXK/ > Code of Conduct: https://twisted.org/conduct _______________________________________________ Twisted mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/twisted.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/EJV3T6QTYE4LYN3TG7ZG5MI6JQW6BPDL/ Code of Conduct: https://twisted.org/conduct
