(s)
return s
Iterate over bytes/bytearray/memoryview, returning int.
Iterate over bytes/bytearray/memoryview, returning int.
Iterate over bytes / bytearray / memoryview returning int .
def iterbytes(s):
    """Iterate over bytes/bytearray/memoryview, returning int."""
    if isinstance(s, (bytes, memoryview)):
        return (ord(_c) for _c in s)
    return s
def iterbytes ( s ) : if isinstance ( s , ( bytes , memoryview ) ) : return ( ord ( _c ) for _c in s ) return s