Български | Català | Deutsche | Hrvatski | Čeština | Dansk | Nederlandse | English | Eesti keel | Français | Ελληνικά | Magyar | Italiano | Latviski | Norsk | Polski | Português | Română | Русский | Српски | Slovenský | Slovenščina | Español | Svenska | Türkçe | 汉语 | 日本語 |
P

python return self

Ацтиве Пхрасе
Датум ажурирања информација: 2026/02/19
Учесталост упита за претрагу
606

Позиције у Google

Тражи фразе - Google

🔍
Положај Домаин Страница Акције
1 ru.stackoverflow.com /questions/1237113/%...
Наслов
python - Что значит вернуть self из метода касса
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
python - Что значит вернуть self из метода касса
Я смог сделать, чтобы программа заработала, но я не понимаю почему нельзя было просто вернуть self .count и вообще интересно, что значит return ...
2 stackoverflow.com /questions/43380042/...
Наслов
Purpose of return self python
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
Purpose of return self python
Returning self from a method simply means that your method returns a reference to the instance object on which it was called.
3 realpython.com /python-type-self/
Наслов
Python's Self Type
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
Python's Self Type
The Self type is a special type hint that you can use to annotate a method that returns an instance of its class . This makes the return type explicit and can ...
4 softwareengineering.stackexchange.com /questions/29657/pur...
Наслов
python - Purpose of `return self` from a class method?
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
python - Purpose of `return self` from a class method?
23 дек. 2010 г. — Suffice it to say, returning self is the definitive OO way to craft class methods , but Python allows for multiple return values, tuples, lists, ...
5 quora.com /in-python-i-come-ac...
Наслов
In Python, I come across the word 'return self' while ...
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
In Python, I come across the word 'return self' while ...
Returning self allows you to chain methods on an object . For instance, if a class has methods a, b and c you can chain them on object o as
6 reddit.com /r/learnpython/comme...
Наслов
Why would one use return here instead of using self?
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
Why would one use return here instead of using self?
I guess both are valid methods but isn't the whole point of using self that it's accessible throughout the entire class? Why bother returning ...
7 peps.python.org /pep-0673/
Наслов
PEP 673 – Self Type | peps.python.org
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
PEP 673 – Self Type | peps.python.org
10 нояб. 2021 г. — By annotating the return type as Self , we no longer have to declare a TypeVar with an explicit bound on the base class. The return type Self ...
8 geeksforgeeks.org /python/self-type-in...
Наслов
Self Type in Python
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
Self Type in Python
23 июл. 2025 г. — Self-type is a brand-new function added to Python 3.11 . A method or function that returns an instance of the class it belongs to is defined by the self type.
10 pythonim.ru /osnovy/klass-self-v...
Наслов
Класс self в Python
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
Класс self в Python
10 февр. 2021 г. — Зачем нужен класс self в Python ? Примеры использования в конструкторе и функциях для получения текущей ссылки на объект.
11 pythonmorsels.com /what-is-self/
Наслов
Python's self
Последње ажурирано
Н/А
Ауторитет странице
Н/А
Саобраћај: Н/А
Повратне везе: Н/А
Социал Схарес: Н/А
Време учитавања: Н/А
Сниппет Превиев:
Python's self
28 дек. 2020 г. — self is the first argument of every method in Python . When Python calls a method in your class, it will pass in the actual instance of that class that you're ...

Додатне услуге

💎