go-python / go-python/gpython

Implement bool.real, bool.imag bool.conjugate()

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

説明

There are some attributes that should be implemented for gpython.

## Expected
```python
>>> a = True
>>> a.imag
0
>>> a.real
1
>>> a.conjugate()
1
```

## Actual
```python
>>> a = True
>>> a.image
Traceback (most recent call last):
File "", line 1, in
FIXME line of source goes here
AttributeError: "'bool' has no attribute 'image'"
>>> a.real
Traceback (most recent call last):
File "", line 1, in
FIXME line of source goes here
AttributeError: "'bool' has no attribute 'real'"
>>> a.conjugate()
Traceback (most recent call last):
File "", line 1, in
FIXME line of source goes here
AttributeError: "'bool' has no attribute 'conjugate'"
```

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

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

評価

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

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

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