def stdout_encode(u, default='UTF8'):
  encoding = sys.stdout.encoding or default
  if (3, 0) > sys.version_info:
    return u.encode(encoding).decode(encoding)
  return u.encode(encoding)
dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/util.py/stdout_encode/swapped operands of `>`