rupython 1.1.0__py3-none-any.whl → 1.1.2__py3-none-any.whl
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//342/225/250/320/257/342/225/244/320/220/342/225/250/342/225/241/342/225/250/342/225/233/342/225/250/342/226/222/342/225/244/320/220/342/225/250/342/226/221/342/225/250/342/225/226/342/225/250/342/225/233/342/225/250/342/226/223/342/225/250/342/226/221/342/225/244/320/222/342/225/250/342/225/241/342/225/250/342/225/227/342/225/244/320/234.py +5 -8
- {rupython-1.1.0.dist-info → rupython-1.1.2.dist-info}/METADATA +1 -1
- {rupython-1.1.0.dist-info → rupython-1.1.2.dist-info}/RECORD +6 -6
- {rupython-1.1.0.dist-info → rupython-1.1.2.dist-info}/LICENSE +0 -0
- {rupython-1.1.0.dist-info → rupython-1.1.2.dist-info}/WHEEL +0 -0
- {rupython-1.1.0.dist-info → rupython-1.1.2.dist-info}/top_level.txt +0 -0
@@ -110,7 +110,7 @@ import importlib as Импортование
|
|
110
110
|
'Срез': ( 'slice', None, True ),
|
111
111
|
'Статический_метод': ( 'staticmethod', None, False ),
|
112
112
|
'Степень': ( 'pow', None, False ),
|
113
|
-
'Строка': ( 'str', { 'кодование': 'encoding', 'при_ошибках': 'errors' }, True ),
|
113
|
+
'Строка': ( 'str', { 'кодование': 'encoding', 'при_ошибках': 'errors' }, True ), # Текст
|
114
114
|
'Сумма': ( 'sum', { 'начало': 'start' }, False ),
|
115
115
|
'Тип': ( 'type', None, True ),
|
116
116
|
'Удалить_поле': ( 'delattr', None, False ),
|
@@ -438,22 +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):
|
442
|
-
print(слова[поз])
|
443
|
-
print(слова[поз - 1])
|
444
|
-
print(слова)
|
441
|
+
if поз > 0 and слова[поз - 1][0] not in (4, 5, 6, 61, 65):
|
445
442
|
Вывести_исключение(сл); return False
|
446
443
|
сл_ = сл.lower()
|
447
444
|
for поз in [i for i, x in enumerate(слова) if x[1] == сл_]:
|
448
|
-
if поз == 0 or слова[поз - 1][0] in (4, 5, 6):
|
445
|
+
if поз == 0 or слова[поз - 1][0] in (4, 5, 6, 61, 65):
|
449
446
|
Вывести_исключение(сл_); return False
|
450
447
|
|
451
448
|
for поз in [i for i, x in enumerate(слова) if x[1] == 'Вернуть']:
|
452
|
-
if поз == len(слова) - 1 or слова[поз + 1][0]
|
449
|
+
if поз == len(слова) - 1 or слова[поз + 1][0] in (4, 61, 65):
|
453
450
|
Вывести_исключение('Вернуть'); return False
|
454
451
|
|
455
452
|
for поз in [i for i, x in enumerate(слова) if x[1] == 'Возврат']:
|
456
|
-
if поз != len(слова) - 1 and слова[поз + 1][0]
|
453
|
+
if поз != len(слова) - 1 and слова[поз + 1][0] not in (4, 61, 65):
|
457
454
|
Вывести_исключение('Возврат'); return False
|
458
455
|
|
459
456
|
return True
|
@@ -1,11 +1,11 @@
|
|
1
1
|
rupython/__main__.py,sha256=BxtsIK8PJuOOGVDKxqoscwJjjWWhZts7adicFuwUL6k,540
|
2
2
|
rupython/__Заголовочный_код__.py,sha256=VWghfQc6dv9lwIeQvJotpdOlBtHZeN00NBeL4RdWloA,10998
|
3
|
-
rupython/Преобразователь.py,sha256=
|
3
|
+
rupython/Преобразователь.py,sha256=BPADuo5ipCBmpjQPNUQXZuBnjyOKqZN5AVk0SVtA08c,36388
|
4
4
|
rupython/Модули/Матем.py,sha256=d8ekm7GJreu7LJ9KmAKcTOciIUQ-VBI567BfK_QeLSc,3587
|
5
5
|
rupython/Модули/РегВыр.py,sha256=yeXYfeDF2qw4DSKVdZVSFInMUW52U7Nq_KOJKvm4XnM,6349
|
6
6
|
rupython/Модули/Случ.py,sha256=oeVdSdFVb4X_T-nX2P7NSIhise1zUPIS4lk7h-67XSg,2689
|
7
|
-
rupython-1.1.
|
8
|
-
rupython-1.1.
|
9
|
-
rupython-1.1.
|
10
|
-
rupython-1.1.
|
11
|
-
rupython-1.1.
|
7
|
+
rupython-1.1.2.dist-info/LICENSE,sha256=iWzdt1wyTlK8qNSu7TzK8pjjIcCvLvWHycp7ACRcWEc,59
|
8
|
+
rupython-1.1.2.dist-info/METADATA,sha256=QrjLn-6rPiRXH9GTJnWWr7_UD231Z6Y5_32lCS13HsQ,13869
|
9
|
+
rupython-1.1.2.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
10
|
+
rupython-1.1.2.dist-info/top_level.txt,sha256=GtXaS8JTsBm5hpQxxtQlrxK6rExvSAK_Cp44FrY4210,9
|
11
|
+
rupython-1.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|