go-python / go-python/gpython

Implement float is_integer method

Open
#111 1 comment 0 reactions 1 assignee Claimed by @DoDaek View on GitHub
Contributhon2019
Dominant language
Go
Stars
1k
Forks
105
PR merge metrics
No merged PRs in 30d

Description

## python
```
>>> a = 10.0
>>> type(a)

>>> a.is_integer()
True
```

## gpython
```
>>> a = 10.0
>>> type(a)

>>> a.is_integer()
Traceback (most recent call last):
File "", line 1, in
FIXME line of source goes here
AttributeError: "'float' has no attribute 'is_integer'"
```

`is_integer()` method does not exist.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.