g.next should be next(g) for python 3.x
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 55/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- documentation
Direzione di ricerca
Read UseTheLibrary/Python_Pybel.rst at the linked documentation page and locate the read_file().next() example. Update that example to use the Python 3-compatible form next(read_file()), then check the surrounding documentation for the same outdated pattern. Done means the documented generator access is correct for Python 3.x.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hey, just wanted to point out that the documentation for pybel isn't up to date for newer python versions (tried with python 3.8.
https://github.com/openbabel/documentation/blob/master/UseTheLibrary/Python_Pybel.rst for instance, states to use read_file().next() to access the molecule from the generator object. This should be:
next(read_file())
- Lingua principale
- Python
- Stelle
- 10
- Fork
- 15
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openbabel/documentation
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
openbabel/documentation#26 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
openbabel/documentation#22 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
openbabel/documentation#10 ·
Tutte le issue di openbabel/documentation
Issue simili
-
wr.dynamodb.read_items returns [{}] for a single partition value that does not existForse già presa @auraseb l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
aws/aws-sdk-pandas#3520 ·
I maintainer di solito rispondono entro 2 giorni
-
requires triage typing
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sqlalchemy/sqlalchemy#13704 ·
I maintainer di solito rispondono entro 1 giorno
-
Edit tool converts CRLF files to LFForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
huggingface/tau#774 ·
I maintainer di solito rispondono entro 1 giorno
-
show ignores the row limit when a column or table name contains "limit"Forse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
What happened to `check.py`?Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
linebender/resvg#1179 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni