Проверка шаблона шины для iOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readKeyValue.py 236B

11 months ago
12345678
  1. def readKeyValue(line):
  2. parts = line.split(": ")
  3. # Ключ со значением.
  4. if len(parts) == 2:
  5. return (parts[0], parts[1])
  6. # Не является ключом со значением.
  7. return None