Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.compat.is_bytes

wsgidav.compat.is_bytes(s)[source]

Return True for bytestrings (for str on Py2 and bytes on Py3).