1 | initial version |

(Let me answer my self instead of deleting the question, for other people to refer to:)

Use

```
from sage.all import *
def test():
var('a')
print -1/Integer(2)
```

Integer(number) is a sage object, thus don't have the python 2 feature.

2 | No.2 Revision |

(Let me answer ~~my self ~~myself instead of deleting the question, for other people to refer to:)

Use

```
from sage.all import *
def test():
var('a')
print -1/Integer(2)
```

Integer(number) is a sage object, thus don't have the python 2 feature.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.