go-python / go-python/gpython

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

Aberta
#73 3 comentários 0 reações 1 responsável Reivindicada por @parkchansoo Ver no GitHub
Contributhon2019 good first issue
Linguagem predominante
Go
Estrelas
1k
Forks
105
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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'"
```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.