Skip to content

Commit 1231ce2

Browse files
committed
cap14: estilo e ortografia
1 parent 549ab76 commit 1231ce2

File tree

4 files changed

+83
-57
lines changed

4 files changed

+83
-57
lines changed

guia-de-estilo.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ Termo em inglês adotado::
192192
|❗ _statement_ |✅ instrução |
193193
|✅ _status_ (s.m.) |❗ situação |
194194
|❗ _subject_ |✅ sujeito | no contexto de _pattern matching_
195+
|✅ _template_ (s.m.) |❗ gabarito | "o template"
195196
|✅ _thread_ (s.f.) |❓ | "a thread"
196197
|❗ _tuple_ |✅ tupla | usar 🇧🇷 exceto menção específica à classe `tuple`
197198
|❗ _type checker_ |✅ checador de tipos| 🔎 verificador de tipos(s)

links/FPY.LI.htaccess

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ RedirectTemp /4e https://docs.python.org/pt-br/3/library/statistics.html#statist
11971197
RedirectTemp /4f https://docs.python.org/pt-br/3/library/typing.html#typing.Callable
11981198

11991199
# Prefácio: appended 2025-08-23 19:10:25
1200-
RedirectTemp /4g https://docs.python.org/pt-br/3.10/tutorial/
1200+
RedirectTemp /4g https://docs.python.org/pt-br/3/tutorial/
12011201
RedirectTemp /4h https://penseallen.github.io/PensePython2e/
12021202
RedirectTemp /4j https://creativecommons.org/licenses/by-nc-nd/4.0/deed.pt_BR
12031203
RedirectTemp /4k https://github.com/pythonfluente/pythonfluente2e
@@ -1309,4 +1309,17 @@ RedirectTemp /7a https://docs.python.org/pt-br/3/library/typing.html#typing.fina
13091309
RedirectTemp /7b https://pt.wikipedia.org/wiki/Polimorfismo_(ci%C3%AAncia_da_computa%C3%A7%C3%A3o)
13101310
RedirectTemp /7c https://pt.wikipedia.org/wiki/POSIX
13111311
RedirectTemp /7d https://docs.python.org/pt-br/3/library/typing.html#typing.Final
1312-
RedirectTemp /7e https://github.com/python/cpython/issues/141721
1312+
RedirectTemp /7e https://github.com/python/cpython/issues/141721
1313+
1314+
# cap15: appended 2025-11-25 13:14:54
1315+
RedirectTemp /7f https://docs.python.org/pt-br/3/library/xml.etree.elementtree.html
1316+
RedirectTemp /7g https://docs.python.org/pt-br/3/library/asyncio-stream.html#tcp-echo-server-using-streams
1317+
RedirectTemp /7h https://docs.python.org/pt-br/3/library/typing.html#introspection-helpers
1318+
RedirectTemp /7j https://docs.python.org/pt-br/3/howto/annotations.html
1319+
RedirectTemp /7k https://docs.python.org/pt-br/3/library/typing.html#user-defined-generic-types
1320+
RedirectTemp /7m https://docs.python.org/pt-br/3/library/typing.html#typing.FrozenSet
1321+
1322+
# cap16: appended 2025-11-25 13:35:49
1323+
RedirectTemp /7n https://docs.python.org/pt-br/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations
1324+
RedirectTemp /7p https://pt.wikipedia.org/wiki/L%C3%B3gica_bin%C3%A1ria#NOT
1325+
RedirectTemp /7q https://docs.python.org/pt-br/3/library/functools.html#functools.total_ordering

links/encurtar.ipynb

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,24 @@
2828
"name": "stdout",
2929
"output_type": "stream",
3030
"text": [
31-
"+ /7c\thttps://pt.wikipedia.org/wiki/POSIX\n",
32-
"+ /7d\thttps://docs.python.org/pt-br/3/library/typing.html#typing.Final\n"
31+
"+ /7n\thttps://docs.python.org/pt-br/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations\n",
32+
"+ /7p\thttps://pt.wikipedia.org/wiki/L%C3%B3gica_bin%C3%A1ria#NOT\n",
33+
"= /34\thttps://docs.python.org/pt-br/3/library/collections.html#collections.Counter\n",
34+
"= /6n\thttps://docs.python.org/pt-br/3/reference/datamodel.html#emulating-container-types\n",
35+
"= /2j\thttps://docs.python.org/pt-br/3/reference/datamodel.html\n",
36+
"+ /7q\thttps://docs.python.org/pt-br/3/library/functools.html#functools.total_ordering\n"
3337
]
3438
},
3539
{
3640
"name": "stderr",
3741
"output_type": "stream",
3842
"text": [
39-
"2 directives appended to FPY.LI.htaccess\n"
43+
"3 directives appended to FPY.LI.htaccess\n"
4044
]
4145
}
4246
],
4347
"source": [
44-
"CAP = 14\n",
48+
"CAP = 16\n",
4549
"\n",
4650
"adoc_path = f'../online/cap{CAP}.adoc'\n",
4751
"\n",
@@ -66,8 +70,12 @@
6670
"name": "stdout",
6771
"output_type": "stream",
6872
"text": [
69-
"+ /7c\thttps://pt.wikipedia.org/wiki/POSIX\n",
70-
"+ /7d\thttps://docs.python.org/pt-br/3/library/typing.html#typing.Final\n"
73+
"+ /7n\thttps://docs.python.org/pt-br/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations\n",
74+
"+ /7p\thttps://pt.wikipedia.org/wiki/L%C3%B3gica_bin%C3%A1ria#NOT\n",
75+
"= /34\thttps://docs.python.org/pt-br/3/library/collections.html#collections.Counter\n",
76+
"= /6n\thttps://docs.python.org/pt-br/3/reference/datamodel.html#emulating-container-types\n",
77+
"= /2j\thttps://docs.python.org/pt-br/3/reference/datamodel.html\n",
78+
"+ /7q\thttps://docs.python.org/pt-br/3/library/functools.html#functools.total_ordering\n"
7179
]
7280
}
7381
],
@@ -86,8 +94,12 @@
8694
"name": "stdout",
8795
"output_type": "stream",
8896
"text": [
89-
"/7c https://pt.wikipedia.org/wiki/POSIX\n",
90-
"/7d https://docs.python.org/pt-br/3/library/typing.html#typing.Final\n"
97+
"/7n https://docs.python.org/pt-br/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations\n",
98+
"/7p https://pt.wikipedia.org/wiki/L%C3%B3gica_bin%C3%A1ria#NOT\n",
99+
"/34 https://docs.python.org/pt-br/3/library/collections.html#collections.Counter\n",
100+
"/6n https://docs.python.org/pt-br/3/reference/datamodel.html#emulating-container-types\n",
101+
"/2j https://docs.python.org/pt-br/3/reference/datamodel.html\n",
102+
"/7q https://docs.python.org/pt-br/3/library/functools.html#functools.total_ordering\n"
91103
]
92104
}
93105
],
@@ -103,12 +115,12 @@
103115
},
104116
{
105117
"cell_type": "code",
106-
"execution_count": 5,
118+
"execution_count": 14,
107119
"id": "a66fdca6-e1df-4b1d-8971-1baae54cb9ed",
108120
"metadata": {},
109121
"outputs": [],
110122
"source": [
111-
"!grep 'https://(?!f[^./]*\\.)[a-zA-Z0-9.-]+[^/]*' ../online/cap14.adoc"
123+
"!grep 'https://(?!f[^./]*\\.)[a-zA-Z0-9.-]+[^/]*' ../online/cap24.adoc # não está funcionando!"
112124
]
113125
},
114126
{

0 commit comments

Comments
 (0)