
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 <km@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-... 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-leave@python.org https://mail.python.org/mailman3/lists/twisted.python.org/ Message archived at https://mail.python.org/archives/list/twisted@python.org/message/22XYQVUVLYE... Code of Conduct: https://twisted.org/conduct