]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/black/tests/data/numeric_literals.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

No longer using vimplate
[etc/vim.git] / .vim / bundle / black / tests / data / numeric_literals.py
1 #!/usr/bin/env python3.6
2
3 x = 123456789
4 x = 123456
5 x = .1
6 x = 1.
7 x = 1E+1
8 x = 1E-1
9 x = 1.000_000_01
10 x = 123456789.123456789
11 x = 123456789.123456789E123456789
12 x = 123456789E123456789
13 x = 123456789J
14 x = 123456789.123456789J
15 x = 0XB1ACC
16 x = 0B1011
17 x = 0O777
18 x = 0.000000006
19 x = 10000
20 x = 133333
21
22 # output
23
24
25 #!/usr/bin/env python3.6
26
27 x = 123456789
28 x = 123456
29 x = 0.1
30 x = 1.0
31 x = 1e1
32 x = 1e-1
33 x = 1.000_000_01
34 x = 123456789.123456789
35 x = 123456789.123456789e123456789
36 x = 123456789e123456789
37 x = 123456789j
38 x = 123456789.123456789j
39 x = 0xB1ACC
40 x = 0b1011
41 x = 0o777
42 x = 0.000000006
43 x = 10000
44 x = 133333