FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MagicPython/test/strings/format10.py at master · MagicStack/MagicPython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
MagicStack
/
MagicPython
Public
Notifications
You must be signed in to change notification settings
Fork
98
Star
1.4k
Code
Issues
65
Pull requests
5
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
MagicPython
/
test
/
strings
/
format10.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (22 loc) · 1.49 KB
Breadcrumbs
MagicPython
/
test
/
strings
/
format10.py
Copy path
File metadata and controls
25 lines (22 loc) · 1.49 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
a
=
'''blah {foo-bar %d
blah {foo-bar %d}
blah {foo-bar %d //insane {}}
{}blah {foo-bar %d //insane {}}'''
a
:
source
.
python
:
source
.
python
=
:
keyword
.
operator
.
assignment
.
python
,
source
.
python
:
source
.
python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.multi.python
blah {foo-bar : source.python, string.quoted.multi.python
%d : constant.character.format.placeholder.other.python, meta.format.percent.python, source.python, string.quoted.multi.python
blah : source.python, string.quoted.multi.python
{foo-bar : source.python, string.quoted.multi.python
%d : constant.character.format.placeholder.other.python, meta.format.percent.python, source.python, string.quoted.multi.python
} : source.python, string.quoted.multi.python
blah {foo-bar : source.python, string.quoted.multi.python
%d : constant.character.format.placeholder.other.python, meta.format.percent.python, source.python, string.quoted.multi.python
//insane {}} : source.python, string.quoted.multi.python
{}blah {foo-bar : source.python, string.quoted.multi.python
%d : constant.character.format.placeholder.other.python, meta.format.percent.python, source.python, string.quoted.multi.python
//insane {}} : source.python, string.quoted.multi.python
'''
:
punctuation
.
definition
.
string
.
end
.
python
,
source
.
python
,
string
.
quoted
.
multi
.
python
Back
|
FazBrowse Home
|
New Git URL