rupython 1.0.9__tar.gz → 1.0.10__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.
- {rupython-1.0.9 → rupython-1.0.10}/PKG-INFO +1 -1
- {rupython-1.0.9 → rupython-1.0.10}/rupython//320/237/321/200/320/265/320/276/320/261/321/200/320/260/320/267/320/276/320/262/320/260/321/202/320/265/320/273/321/214.py +9 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython.egg-info/PKG-INFO +1 -1
- {rupython-1.0.9 → rupython-1.0.10}/setup.py +1 -1
- {rupython-1.0.9 → rupython-1.0.10}/LICENSE +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/README.md +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython/__main__.py +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython/__/320/227/320/260/320/263/320/276/320/273/320/276/320/262/320/276/321/207/320/275/321/213/320/271_/320/272/320/276/320/264__.py" +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython//320/234/320/276/320/264/321/203/320/273/320/270//320/234/320/260/321/202/320/265/320/274.py" +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython//320/234/320/276/320/264/321/203/320/273/320/270//320/240/320/265/320/263/320/222/321/213/321/200.py" +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython//320/234/320/276/320/264/321/203/320/273/320/270//320/241/320/273/321/203/321/207.py" +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython.egg-info/SOURCES.txt +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython.egg-info/dependency_links.txt +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/rupython.egg-info/top_level.txt +0 -0
- {rupython-1.0.9 → rupython-1.0.10}/setup.cfg +0 -0
@@ -437,6 +437,15 @@ def Проверить_соответствие_слов(слова, путь_к
|
|
437
437
|
искл = SyntaxError('Ошибка употребления инструкции "' + инструкция + '".')
|
438
438
|
Вывести_текст_исключения(искл, 'при разборе кода', путь_к_файлу)
|
439
439
|
|
440
|
+
for сл in ('Подключить', 'Если', 'Иначе'):
|
441
|
+
for поз in [i for i, x in enumerate(слова) if x[1] == сл]:
|
442
|
+
if поз > 0 and слова[поз - 1][1] not in ('\n', '\t'):
|
443
|
+
Вывести_исключение(сл); return False
|
444
|
+
сл_ = сл.lower()
|
445
|
+
for поз in [i for i, x in enumerate(слова) if x[1] == сл_]:
|
446
|
+
if поз == 0 or слова[поз - 1][1] in ('\n', '\t'):
|
447
|
+
Вывести_исключение(сл_); return False
|
448
|
+
|
440
449
|
for поз in [i for i, x in enumerate(слова) if x[1] == 'Вернуть']:
|
441
450
|
if поз == len(слова) - 1 or слова[поз + 1][1] == '\n':
|
442
451
|
Вывести_исключение('Вернуть'); return False
|
@@ -3,7 +3,7 @@ from pathlib import Path as Путь
|
|
3
3
|
|
4
4
|
Установить(
|
5
5
|
name = 'rupython',
|
6
|
-
version = '1.0.
|
6
|
+
version = '1.0.10',
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|