go-python / go-python/gpython

Implement float is_integer method

オープン
#111 コメント 1 件 リアクション 0 件 担当者 1 名 @DoDaek が担当を希望しています GitHub で見る
Contributhon2019
主要言語
Go
スター
1k
フォーク
105
PR マージ指標
30日以内にマージされた PR はありません

説明

## 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。