It seems to be rootPathseen as a byte object (maybe a small mistake?) Or a warning for the other part.
, , PyCharm , None, bytes. , Optional , Optional[type] - None type, bytes.
Python REPL , :
b'hello/world'.rsplit('/')
byte:
b'hello/world'.rsplit(b'/')
None, .
PyCharm rsplit .