Translation to portuguese. (#22889)
Translation of a paragraph from english to portuguese. There are still some text in the end of the article that still in english.
This commit is contained in:
committed by
Randell Dawson
parent
71abe14a8c
commit
4bf5fd3ee5
@ -25,9 +25,9 @@ class ClassName:
|
||||
|
||||
Objetos de uma classe soportam dois tipos de operações: Referência por atributo e instanciação.
|
||||
|
||||
Attribute references use the standard syntax used for all attribute references in Python: `obj.name`.
|
||||
Valid attribute names are all the names that were in the class's namespace when the class object was created.
|
||||
So, if the class definition looked like this:
|
||||
Referência de atributo usam a sintaxe padrão usada para todas as referências de atributo em Python: `obj.name`.
|
||||
Nomes de atributos válidos são todos os nomes que estavam na classe quando o objeto daquela classe foi criado.
|
||||
Então, se a definição da classe for parecida com a definição abaixo:
|
||||
```
|
||||
|
||||
python class MyClass: "" "Um exemplo simples de classe" "" i = 12345
|
||||
|
Reference in New Issue
Block a user