René's URL Explorer Experiment


Title: تعریف نوع‌های توسعه‌ای: آموزش — مستندات Python 3.15.2

Open Graph Title: تعریف نوع‌های توسعه‌ای: آموزش

Description: پایتون به نویسنده‌ی یک ماژول توسعه‌ای C اجازه می‌دهد نوع‌های جدیدی تعریف کند که بتوان آن‌ها را از طریق کد پایتون دستکاری کرد، بسیار شبیه به نوع‌های توکار str و list. کد همه‌ی نوع‌های توسعه‌ای از یک...

Open Graph Description: پایتون به نویسنده‌ی یک ماژول توسعه‌ای C اجازه می‌دهد نوع‌های جدیدی تعریف کند که بتوان آن‌ها را از طریق کد پایتون دستکاری کرد، بسیار شبیه به نوع‌های توکار str و list. کد همه‌ی نوع‌های توسعه‌ای از یک...

Opengraph URL: https://docs.python.org/3/extending/newtypes_tutorial.html

direct link

Domain: docs.python.org

IPv4 address: 151.101.0.223

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/fa/_images/social_previews/summary_extending_newtypes_tutorial_d52b02f6.png
og:image:altپایتون به نویسنده‌ی یک ماژول توسعه‌ای C اجازه می‌دهد نوع‌های جدیدی تعریف کند که بتوان آن‌ها را از طریق کد پایتون دستکاری کرد، بسیار شبیه به نوع‌های توکار str و list. کد همه‌ی نوع‌های توسعه‌ای از یک...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
فهرست مطالبhttps://docs.python.org/fa/3/contents.html
تعریف نوع‌های توسعه‌ای: آموزشhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html
مبانیhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#the-basics
افزودن داده‌ها و متدها به مثال پایهhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example
فراهم کردن کنترل دقیق‌تر بر ویژگی‌های دادهhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes
پشتیبانی از زباله‌روبی چرخه‌ایhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection
زیرکلاس‌سازی نوع‌های دیگرhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#subclassing-other-types
استفاده از C API: موضوعات متفرقهhttps://docs.python.org/fa/3/extending/extending.html
تعریف نوع‌های توسعه‌ای: موضوعات گوناگونhttps://docs.python.org/fa/3/extending/newtypes.html
گزارش یک اشکالhttps://docs.python.org/fa/3/bugs.html
بهبود این صفحهhttps://docs.python.org/fa/3/improve-page-nojs.html
نمایش منبع https://github.com/python/cpython/blob/3.15/Doc/extending/newtypes_tutorial.rst?plain=1
نمایش منبع ترجمهhttps://github.com/python/python-docs-fa/blob/3.15/extending/newtypes_tutorial.po?plain=1
اندیسhttps://docs.python.org/fa/3/genindex.html
ماژول‌هاhttps://docs.python.org/fa/3/py-modindex.html
بعدیhttps://docs.python.org/fa/3/extending/newtypes.html
قبلیhttps://docs.python.org/fa/3/extending/extending.html
Pythonhttps://www.python.org/
3.15.2 documentationhttps://docs.python.org/fa/3/index.html
توسعه و تعبیه مفسر پایتونhttps://docs.python.org/fa/3/extending/index.html
تعریف نوع‌های توسعه‌ای: آموزشhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html
https://docs.python.org/fa/3/extending/newtypes_tutorial.html#defining-extension-types-tutorial
strhttps://docs.python.org/fa/3/builtins/stdtypes.html#str
listhttps://docs.python.org/fa/3/builtins/stdtypes.html#list
https://docs.python.org/fa/3/extending/newtypes_tutorial.html#the-basics
CPythonhttps://docs.python.org/fa/3/glossary.html#term-CPython
PyObjecthttps://docs.python.org/fa/3/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/fa/3/c-api/structures.html#c.PyObject
reference counthttps://docs.python.org/fa/3/glossary.html#term-reference-count
PyType_FromSpec()https://docs.python.org/fa/3/c-api/type.html#c.PyType_FromSpec
PyObjecthttps://docs.python.org/fa/3/c-api/structures.html#c.PyObject
Py_TYPEhttps://docs.python.org/fa/3/c-api/structures.html#c.Py_TYPE
Py_REFCNThttps://docs.python.org/fa/3/c-api/refcounting.html#c.Py_REFCNT
نسخه‌های اشکال‌زداییhttps://docs.python.org/fa/3/using/configure.html#debug-build
PyObject_HEADhttps://docs.python.org/fa/3/c-api/structures.html#c.PyObject_HEAD
PyTypeObjecthttps://docs.python.org/fa/3/c-api/type.html#c.PyTypeObject
PyTypeObjecthttps://docs.python.org/fa/3/c-api/type.html#c.PyTypeObject
فیلدهایhttps://docs.python.org/fa/3/c-api/typeobj.html#type-structs
pydochttps://docs.python.org/fa/3/library/pydoc.html#module-pydoc
picklehttps://docs.python.org/fa/3/library/pickle.html#module-pickle
tp_itemsizehttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_itemsize
tp_basicsizehttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_basicsize
__bases__https://docs.python.org/fa/3/reference/datamodel.html#type.__bases__
__new__()https://docs.python.org/fa/3/reference/datamodel.html#object.__new__
objecthttps://docs.python.org/fa/3/builtins/functions.html#object
Py_TPFLAGS_DEFAULThttps://docs.python.org/fa/3/c-api/typeobj.html#c.Py_TPFLAGS_DEFAULT
tp_dochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_doc
tp_newhttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_new
__new__()https://docs.python.org/fa/3/reference/datamodel.html#object.__new__
PyType_GenericNew()https://docs.python.org/fa/3/c-api/type.html#c.PyType_GenericNew
ob_typehttps://docs.python.org/fa/3/c-api/structures.html#c.PyObject.ob_type
https://docs.python.org/fa/3/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example
tp_deallochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
Py_XDECREF()https://docs.python.org/fa/3/c-api/refcounting.html#c.Py_XDECREF
tp_freehttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_free
tp_newhttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_new
__new__()https://docs.python.org/fa/3/reference/datamodel.html#object.__new__
PyType_GenericNew()https://docs.python.org/fa/3/c-api/type.html#c.PyType_GenericNew
tp_allochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_alloc
tp_allochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_alloc
tp_allochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_alloc
PyType_Ready()https://docs.python.org/fa/3/c-api/type.html#c.PyType_Ready
objecthttps://docs.python.org/fa/3/builtins/functions.html#object
tp_newhttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_new
__new__()https://docs.python.org/fa/3/reference/datamodel.html#object.__new__
TypeErrorhttps://docs.python.org/fa/3/builtins/exceptions.html#TypeError
tp_inithttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_init
tp_inithttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_init
__init__()https://docs.python.org/fa/3/reference/datamodel.html#object.__init__
picklehttps://docs.python.org/fa/3/library/pickle.html#module-pickle
__init__()https://docs.python.org/fa/3/reference/datamodel.html#object.__init__
وضعیت نخhttps://docs.python.org/fa/3/glossary.html#term-attached-thread-state
[1]https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id5
وضعیت نخhttps://docs.python.org/fa/3/glossary.html#term-attached-thread-state
tp_deallochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
[2]https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id6
tp_membershttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_members
مدیریت عام ویژگیhttps://docs.python.org/fa/3/extending/newtypes.html#generic-attribute-management
METH_NOARGShttps://docs.python.org/fa/3/c-api/structures.html#c.METH_NOARGS
tp_methodshttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_methods
Py_TPFLAGS_BASETYPEhttps://docs.python.org/fa/3/c-api/typeobj.html#c.Py_TPFLAGS_BASETYPE
PyModuleDefhttps://docs.python.org/fa/3/c-api/module.html#c.PyModuleDef
PyTypeObjecthttps://docs.python.org/fa/3/c-api/type.html#c.PyTypeObject
https://docs.python.org/fa/3/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes
PyGetSetDefhttps://docs.python.org/fa/3/c-api/structures.html#c.PyGetSetDef
tp_getsethttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_getset
PyGetSetDefhttps://docs.python.org/fa/3/c-api/structures.html#c.PyGetSetDef
tp_inithttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_init
[3]https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id7
Py_XDECREF()https://docs.python.org/fa/3/c-api/refcounting.html#c.Py_XDECREF
Py_DECREF()https://docs.python.org/fa/3/c-api/refcounting.html#c.Py_DECREF
https://docs.python.org/fa/3/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection
زباله‌روب چرخه‌ای (GC)https://docs.python.org/fa/3/glossary.html#term-garbage-collection
[4]https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id8
Py_VISIT()https://docs.python.org/fa/3/c-api/gcsupport.html#c.Py_VISIT
tp_traversehttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_traverse
Py_VISIT()https://docs.python.org/fa/3/c-api/gcsupport.html#c.Py_VISIT
Py_CLEAR()https://docs.python.org/fa/3/c-api/refcounting.html#c.Py_CLEAR
Py_XDECREF()https://docs.python.org/fa/3/c-api/refcounting.html#c.Py_XDECREF
Py_CLEAR()https://docs.python.org/fa/3/c-api/refcounting.html#c.Py_CLEAR
Py_CLEAR()https://docs.python.org/fa/3/c-api/refcounting.html#c.Py_CLEAR
PyObject_GC_UnTrack()https://docs.python.org/fa/3/c-api/gcsupport.html#c.PyObject_GC_UnTrack
Py_TPFLAGS_HAVE_GChttps://docs.python.org/fa/3/c-api/typeobj.html#c.Py_TPFLAGS_HAVE_GC
tp_allochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_alloc
tp_freehttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_free
https://docs.python.org/fa/3/extending/newtypes_tutorial.html#subclassing-other-types
PyTypeObjecthttps://docs.python.org/fa/3/c-api/type.html#c.PyTypeObject
listhttps://docs.python.org/fa/3/builtins/stdtypes.html#list
PyObject_HEAD()https://docs.python.org/fa/3/c-api/structures.html#c.PyObject_HEAD
__init__()https://docs.python.org/fa/3/reference/datamodel.html#object.__init__
tp_newhttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_new
tp_deallochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
tp_allochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_alloc
PyTypeObjecthttps://docs.python.org/fa/3/c-api/type.html#c.PyTypeObject
tp_basehttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_base
PyList_Typehttps://docs.python.org/fa/3/c-api/list.html#c.PyList_Type
Py_mod_exechttps://docs.python.org/fa/3/c-api/module.html#c.Py_mod_exec
PyType_Ready()https://docs.python.org/fa/3/c-api/type.html#c.PyType_Ready
tp_basehttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_base
tp_allochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_alloc
PyType_GenericAlloc()https://docs.python.org/fa/3/c-api/type.html#c.PyType_GenericAlloc
PyType_Ready()https://docs.python.org/fa/3/c-api/type.html#c.PyType_Ready
1https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id1
2https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id2
tp_deallochttps://docs.python.org/fa/3/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
3https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id3
4https://docs.python.org/fa/3/extending/newtypes_tutorial.html#id4
strhttps://docs.python.org/fa/3/builtins/stdtypes.html#str
فهرست مطالبhttps://docs.python.org/fa/3/contents.html
تعریف نوع‌های توسعه‌ای: آموزشhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html
مبانیhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#the-basics
افزودن داده‌ها و متدها به مثال پایهhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example
فراهم کردن کنترل دقیق‌تر بر ویژگی‌های دادهhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes
پشتیبانی از زباله‌روبی چرخه‌ایhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection
زیرکلاس‌سازی نوع‌های دیگرhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html#subclassing-other-types
استفاده از C API: موضوعات متفرقهhttps://docs.python.org/fa/3/extending/extending.html
تعریف نوع‌های توسعه‌ای: موضوعات گوناگونhttps://docs.python.org/fa/3/extending/newtypes.html
گزارش یک اشکالhttps://docs.python.org/fa/3/bugs.html
بهبود این صفحهhttps://docs.python.org/fa/3/improve-page-nojs.html
نمایش منبع https://github.com/python/cpython/blob/3.15/Doc/extending/newtypes_tutorial.rst?plain=1
نمایش منبع ترجمهhttps://github.com/python/python-docs-fa/blob/3.15/extending/newtypes_tutorial.po?plain=1
اندیسhttps://docs.python.org/fa/3/genindex.html
ماژول‌هاhttps://docs.python.org/fa/3/py-modindex.html
بعدیhttps://docs.python.org/fa/3/extending/newtypes.html
قبلیhttps://docs.python.org/fa/3/extending/extending.html
Pythonhttps://www.python.org/
3.15.2 documentationhttps://docs.python.org/fa/3/index.html
توسعه و تعبیه مفسر پایتونhttps://docs.python.org/fa/3/extending/index.html
تعریف نوع‌های توسعه‌ای: آموزشhttps://docs.python.org/fa/3/extending/newtypes_tutorial.html
حق نشرhttps://docs.python.org/fa/3/copyright.html
تاریخچه و مجوزhttps://docs.python.org/license.html
لطفاً کمک مالی کنید.https://www.python.org/psf/donations/
اشکالی یافتیدhttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Response headers:
Servernginx
Content-Typetext/html
Via1.1 varnish
Last-ModifiedSun, 22 Nov 2026 08:38:47 GMT

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.