File: operations.py

package info (click to toggle)
python-jedi 0.18.0-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 10,556 kB
  • sloc: python: 28,292; makefile: 172; ansic: 13
file content (17 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-1 + 1
1 + 1.0
#! 2 type-error-operation
1 + '1'
#! 2 type-error-operation
1 - '1'

-1 - - 1
# TODO uncomment
#-1 - int()
#int() - float()
float() - 3.0

a = 3
b = ''
#! 2 type-error-operation
a + b