rupython 1.1.1__tar.gz → 1.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rupython
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: Исполнитель кода Русского Питона
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -438,19 +438,19 @@ def Проверить_соответствие_слов(слова, путь_к
438
438
 
439
439
  for сл in ('Подключить', 'Если', 'Иначе'):
440
440
  for поз in [i for i, x in enumerate(слова) if x[1] == сл]:
441
- if поз > 0 and слова[поз - 1][0] not in (4, 5, 6, 61):
441
+ if поз > 0 and слова[поз - 1][0] not in (4, 5, 6, 61, 65):
442
442
  Вывести_исключение(сл); return False
443
443
  сл_ = сл.lower()
444
444
  for поз in [i for i, x in enumerate(слова) if x[1] == сл_]:
445
- if поз == 0 or слова[поз - 1][0] in (4, 5, 6, 61):
445
+ if поз == 0 or слова[поз - 1][0] in (4, 5, 6, 61, 65):
446
446
  Вывести_исключение(сл_); return False
447
447
 
448
448
  for поз in [i for i, x in enumerate(слова) if x[1] == 'Вернуть']:
449
- if поз == len(слова) - 1 or слова[поз + 1][0] in (4, 61):
449
+ if поз == len(слова) - 1 or слова[поз + 1][0] in (4, 61, 65):
450
450
  Вывести_исключение('Вернуть'); return False
451
451
 
452
452
  for поз in [i for i, x in enumerate(слова) if x[1] == 'Возврат']:
453
- if поз != len(слова) - 1 and слова[поз + 1][0] not in (4, 61):
453
+ if поз != len(слова) - 1 and слова[поз + 1][0] not in (4, 61, 65):
454
454
  Вывести_исключение('Возврат'); return False
455
455
 
456
456
  return True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rupython
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: Исполнитель кода Русского Питона
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -3,7 +3,7 @@ from pathlib import Path as Путь
3
3
 
4
4
  Установить(
5
5
  name = 'rupython',
6
- version = '1.1.1',
6
+ version = '1.1.2',
7
7
  description = "Исполнитель кода Русского Питона",
8
8
  packages = [ 'rupython', 'rupython.Модули' ],
9
9
  long_description = (Путь(__file__).parent / "README.md").read_text("UTF-8"),
File without changes
File without changes
File without changes
File without changes