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 <k...@krot.org> 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 -- twisted@python.org > To unsubscribe send an email to twisted-le...@python.org > https://mail.python.org/mailman3/lists/twisted.python.org/ > Message archived at > https://mail.python.org/archives/list/twisted@python.org/message/22XYQVUVLYEKU46ZBF3TJ2C3KXFYTJXK/ > Code of Conduct: https://twisted.org/conduct _______________________________________________ Twisted mailing list -- twisted@python.org To unsubscribe send an email to twisted-le...@python.org https://mail.python.org/mailman3/lists/twisted.python.org/ Message archived at https://mail.python.org/archives/list/twisted@python.org/message/EJV3T6QTYE4LYN3TG7ZG5MI6JQW6BPDL/ Code of Conduct: https://twisted.org/conduct