pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/MagicStack/MagicPython/commit/89f16b6a93b6ef8d9b96c5cd89e60b2e0c7cd637

igin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-7a1ad343bd40328c.css" /> Highlight ModuleNotFoundError · MagicStack/MagicPython@89f16b6 · GitHub
Skip to content

Commit 89f16b6

Browse files
committed
Highlight ModuleNotFoundError
1 parent 2bd426a commit 89f16b6

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

grammars/MagicPython.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ repository:
17041704
| Key | Lookup | Memory | Name | NotImplemented | OS | Overflow
17051705
| Reference | Runtime | Recursion | Syntax | System
17061706
| Tab | Type | UnboundLocal | Unicode(Encode|Decode|Translate)?
1707-
| Value | Windows | ZeroDivision
1707+
| Value | Windows | ZeroDivision | ModuleNotFound
17081708
) Error
17091709
|
17101710
((Pending)?Deprecation | Runtime | Syntax | User | Future | Import

grammars/MagicPython.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2669,7 +2669,7 @@
26692669
| Key | Lookup | Memory | Name | NotImplemented | OS | Overflow
26702670
| Reference | Runtime | Recursion | Syntax | System
26712671
| Tab | Type | UnboundLocal | Unicode(Encode|Decode|Translate)?
2672-
| Value | Windows | ZeroDivision
2672+
| Value | Windows | ZeroDivision | ModuleNotFound
26732673
) Error
26742674
|
26752675
((Pending)?Deprecation | Runtime | Syntax | User | Future | Import

grammars/src/MagicPython.syntax.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ repository:
12541254
| Key | Lookup | Memory | Name | NotImplemented | OS | Overflow
12551255
| Reference | Runtime | Recursion | Syntax | System
12561256
| Tab | Type | UnboundLocal | Unicode(Encode|Decode|Translate)?
1257-
| Value | Windows | ZeroDivision
1257+
| Value | Windows | ZeroDivision | ModuleNotFound
12581258
) Error
12591259
|
12601260
((Pending)?Deprecation | Runtime | Syntax | User | Future | Import

test/builtins/builtins1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
AttributeError ConnectionAbortedError
22
PendingDeprecationWarning
3+
ModuleNotFoundError
34
SystemExit
45
NotImplemented True None False Ellipsis
56
Warning
@@ -12,6 +13,7 @@
1213
: source.python
1314
ConnectionAbortedError : source.python, support.type.exception.python
1415
PendingDeprecationWarning : source.python, support.type.exception.python
16+
ModuleNotFoundError : source.python, support.type.exception.python
1517
SystemExit : source.python, support.type.exception.python
1618
NotImplemented : constant.language.python, source.python
1719
: source.python

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy