pdit 0.3.2__py3-none-any.whl → 0.4.0__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.
- pdit/ipython_executor.py +3 -0
- {pdit-0.3.2.dist-info → pdit-0.4.0.dist-info}/METADATA +1 -1
- {pdit-0.3.2.dist-info → pdit-0.4.0.dist-info}/RECORD +7 -7
- {pdit-0.3.2.dist-info → pdit-0.4.0.dist-info}/WHEEL +1 -1
- {pdit-0.3.2.dist-info → pdit-0.4.0.dist-info}/entry_points.txt +0 -0
- {pdit-0.3.2.dist-info → pdit-0.4.0.dist-info}/licenses/LICENSE +0 -0
- {pdit-0.3.2.dist-info → pdit-0.4.0.dist-info}/top_level.txt +0 -0
pdit/ipython_executor.py
CHANGED
|
@@ -167,6 +167,9 @@ del _register_pdit_runtime_hooks
|
|
|
167
167
|
|
|
168
168
|
for node in tree.body:
|
|
169
169
|
line_start = node.lineno
|
|
170
|
+
if isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef, ast.ClassDef)):
|
|
171
|
+
if node.decorator_list:
|
|
172
|
+
line_start = min(dec.lineno for dec in node.decorator_list)
|
|
170
173
|
line_end = node.end_lineno or node.lineno
|
|
171
174
|
|
|
172
175
|
# Extract source
|
|
@@ -3,15 +3,15 @@ pdit/_demo.py,sha256=SMOGoiHBdMDq8pXRVK-uuTRFCFbRd47diUyRR8Y3wZY,2026
|
|
|
3
3
|
pdit/cli.py,sha256=3YkWz2Sg3-OszRssWkXbPEu3dDQAXMS8Z0c07bZ7gx8,9634
|
|
4
4
|
pdit/exporter.py,sha256=i2emLqRQNPW92vFBTamLZyOhUTDU45_0QnOWG7PcIu8,2811
|
|
5
5
|
pdit/file_watcher.py,sha256=1WlqKWjLCdgMZLdN836MEeWTisGCtZmvgRdOFN-jns8,5200
|
|
6
|
-
pdit/ipython_executor.py,sha256=
|
|
6
|
+
pdit/ipython_executor.py,sha256=kNsnRiDAFYYVuhZt9O0YRlOIMMAk9QvqeNX2cC6bqdw,15081
|
|
7
7
|
pdit/server.py,sha256=URabdsLxiLUipkl8PTc5jgDjMlQV0v8QJTMnNNy0XKs,13941
|
|
8
8
|
pdit/_static/export.html,sha256=d64NrMEU0n1lOtD4Q6zQ49brBUVh9ajdka42mhsGlLY,332214
|
|
9
9
|
pdit/_static/index.html,sha256=EyErNmqlcJRNvrVf2hXVOzXvLb-_v4evhjkFEKN20ak,450
|
|
10
10
|
pdit/_static/assets/index-1w8kifoA.js,sha256=Xh4d_rBVjqKbduAthj54nK4pnpqUoVUd7E4Owih6454,814777
|
|
11
11
|
pdit/_static/assets/index-rS96z8hq.css,sha256=0EMq2r0to1VxGznyp18tWCd97_sSZhGVC3YF7QdBXEU,22855
|
|
12
|
-
pdit-0.
|
|
13
|
-
pdit-0.
|
|
14
|
-
pdit-0.
|
|
15
|
-
pdit-0.
|
|
16
|
-
pdit-0.
|
|
17
|
-
pdit-0.
|
|
12
|
+
pdit-0.4.0.dist-info/licenses/LICENSE,sha256=Y9tvBURRu-1aHUHY-tnbsDpPBTRYKWpIInVmaoOUkME,1071
|
|
13
|
+
pdit-0.4.0.dist-info/METADATA,sha256=zMxTz1crDPr_xWF0JcCmWVfQ_KkH975rV3mrjxHvibQ,1859
|
|
14
|
+
pdit-0.4.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
15
|
+
pdit-0.4.0.dist-info/entry_points.txt,sha256=n9I4wGD7M0NQrPWJcTWOsJAzeS6bQJbTnUP8C3Sl-iY,39
|
|
16
|
+
pdit-0.4.0.dist-info/top_level.txt,sha256=wk6vel1ecJS4EZZ3U6Xue9OwDq-Tw8Pbvq_TRQz9eIQ,5
|
|
17
|
+
pdit-0.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|