passagemath-sws2rst 10.5.21__py3-none-any.whl → 10.5.23__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.
- {passagemath_sws2rst-10.5.21.dist-info → passagemath_sws2rst-10.5.23.dist-info}/METADATA +2 -2
- passagemath_sws2rst-10.5.23.dist-info/RECORD +9 -0
- {passagemath_sws2rst-10.5.21.dist-info → passagemath_sws2rst-10.5.23.dist-info}/WHEEL +1 -1
- sage_sws2rst/worksheet2rst.py +2 -1
- passagemath_sws2rst-10.5.21.dist-info/RECORD +0 -9
- {passagemath_sws2rst-10.5.21.data → passagemath_sws2rst-10.5.23.data}/scripts/sage-sws2rst +0 -0
- {passagemath_sws2rst-10.5.21.dist-info → passagemath_sws2rst-10.5.23.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: passagemath-sws2rst
|
3
|
-
Version: 10.5.
|
3
|
+
Version: 10.5.23
|
4
4
|
Summary: passagemath: SageNB worksheet converter
|
5
5
|
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
6
6
|
License: GNU General Public License (GPL) v3 or later
|
@@ -0,0 +1,9 @@
|
|
1
|
+
passagemath_sws2rst-10.5.23.data/scripts/sage-sws2rst,sha256=Cs5Wm2qtiZ9cGiOYXrvxttYlV4vzQD8DSzHCUSe5d2U,6869
|
2
|
+
sage_sws2rst/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
sage_sws2rst/comments2rst.py,sha256=C0HUDmY8OOhisZSk5d6WPstfY8Uw-nBM6X3gFSw-M1o,15609
|
4
|
+
sage_sws2rst/results2rst.py,sha256=Mu06rryTWeQ7C9QeEtcN88teUkmDfXR0iRJcpYljkgI,6046
|
5
|
+
sage_sws2rst/worksheet2rst.py,sha256=bFKjV6ddv065iq3Dg0iZISFYK6flfPG2plYF5TXZ5eI,5999
|
6
|
+
passagemath_sws2rst-10.5.23.dist-info/METADATA,sha256=SyiTsoaWIAadGoO_32JptRHb1ekTZwlqFn1II8loWl0,1087
|
7
|
+
passagemath_sws2rst-10.5.23.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
passagemath_sws2rst-10.5.23.dist-info/top_level.txt,sha256=NXbIX8bi906EaXF0_SYm-oymqgGkZRQ_laYlHnr-2rc,13
|
9
|
+
passagemath_sws2rst-10.5.23.dist-info/RECORD,,
|
sage_sws2rst/worksheet2rst.py
CHANGED
@@ -111,7 +111,8 @@ def code_parser(text):
|
|
111
111
|
lines = ['::', '']
|
112
112
|
for s in text.splitlines():
|
113
113
|
l = s[6:] if s.startswith('sage: ') else s
|
114
|
-
if not l:
|
114
|
+
if not l:
|
115
|
+
continue
|
115
116
|
prefix = ' ....: ' if l[0] == ' ' else ' sage: '
|
116
117
|
lines.append(prefix + l)
|
117
118
|
return '\n'.join(lines)
|
@@ -1,9 +0,0 @@
|
|
1
|
-
passagemath_sws2rst-10.5.21.data/scripts/sage-sws2rst,sha256=Cs5Wm2qtiZ9cGiOYXrvxttYlV4vzQD8DSzHCUSe5d2U,6869
|
2
|
-
sage_sws2rst/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
sage_sws2rst/comments2rst.py,sha256=C0HUDmY8OOhisZSk5d6WPstfY8Uw-nBM6X3gFSw-M1o,15609
|
4
|
-
sage_sws2rst/results2rst.py,sha256=Mu06rryTWeQ7C9QeEtcN88teUkmDfXR0iRJcpYljkgI,6046
|
5
|
-
sage_sws2rst/worksheet2rst.py,sha256=smRjUEttzUXWVIephNcjq54yIH0cfcCkJEmPJNgtGjM,5987
|
6
|
-
passagemath_sws2rst-10.5.21.dist-info/METADATA,sha256=KNYN3OfXIzQBM6dbUBpC_R7rOSik2dxHMNtPmm3dEEo,1087
|
7
|
-
passagemath_sws2rst-10.5.21.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
8
|
-
passagemath_sws2rst-10.5.21.dist-info/top_level.txt,sha256=NXbIX8bi906EaXF0_SYm-oymqgGkZRQ_laYlHnr-2rc,13
|
9
|
-
passagemath_sws2rst-10.5.21.dist-info/RECORD,,
|
File without changes
|
{passagemath_sws2rst-10.5.21.dist-info → passagemath_sws2rst-10.5.23.dist-info}/top_level.txt
RENAMED
File without changes
|