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: python.github.io

og:typewebsite
og:site_namePython documentation
og:image_static/og-image.png
og:image:altPython documentation
theme-color#3776ab
og:image:width200
og:image:height200
readthedocs-addons-api-version1

Links:

https://www.python.org/
فهرست مطالبhttp://python.github.io/python-docs-fa/contents.html
تعریف نوع‌های توسعه‌ای: آموزشhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html
مبانیhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#the-basics
افزودن داده‌ها و متدها به مثال پایهhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example
فراهم کردن کنترل دقیق‌تر بر ویژگی‌های دادهhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes
پشتیبانی از زباله‌روبی چرخه‌ایhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection
زیرکلاس‌سازی نوع‌های دیگرhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#subclassing-other-types
استفاده از C API: موضوعات متفرقهhttp://python.github.io/python-docs-fa/extending/extending.html
تعریف نوع‌های توسعه‌ای: موضوعات گوناگونhttp://python.github.io/python-docs-fa/extending/newtypes.html
گزارش یک اشکالhttp://python.github.io/python-docs-fa/bugs.html
بهبود این صفحهhttp://python.github.io/python-docs-fa/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
اندیسhttp://python.github.io/python-docs-fa/genindex.html
ماژول‌هاhttp://python.github.io/python-docs-fa/py-modindex.html
بعدیhttp://python.github.io/python-docs-fa/extending/newtypes.html
قبلیhttp://python.github.io/python-docs-fa/extending/extending.html
Pythonhttps://www.python.org/
3.15.2 documentationhttp://python.github.io/python-docs-fa/index.html
توسعه و تعبیه مفسر پایتونhttp://python.github.io/python-docs-fa/extending/index.html
تعریف نوع‌های توسعه‌ای: آموزشhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html
http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#defining-extension-types-tutorial
strhttp://python.github.io/python-docs-fa/builtins/stdtypes.html#str
listhttp://python.github.io/python-docs-fa/builtins/stdtypes.html#list
http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#the-basics
CPythonhttp://python.github.io/python-docs-fa/glossary.html#term-CPython
PyObjecthttp://python.github.io/python-docs-fa/c-api/structures.html#c.PyObject
PyObjecthttp://python.github.io/python-docs-fa/c-api/structures.html#c.PyObject
reference counthttp://python.github.io/python-docs-fa/glossary.html#term-reference-count
PyType_FromSpec()http://python.github.io/python-docs-fa/c-api/type.html#c.PyType_FromSpec
PyObjecthttp://python.github.io/python-docs-fa/c-api/structures.html#c.PyObject
Py_TYPEhttp://python.github.io/python-docs-fa/c-api/structures.html#c.Py_TYPE
Py_REFCNThttp://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_REFCNT
نسخه‌های اشکال‌زداییhttp://python.github.io/python-docs-fa/using/configure.html#debug-build
PyObject_HEADhttp://python.github.io/python-docs-fa/c-api/structures.html#c.PyObject_HEAD
PyTypeObjecthttp://python.github.io/python-docs-fa/c-api/type.html#c.PyTypeObject
PyTypeObjecthttp://python.github.io/python-docs-fa/c-api/type.html#c.PyTypeObject
فیلدهایhttp://python.github.io/python-docs-fa/c-api/typeobj.html#type-structs
pydochttp://python.github.io/python-docs-fa/library/pydoc.html#module-pydoc
picklehttp://python.github.io/python-docs-fa/library/pickle.html#module-pickle
tp_itemsizehttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_itemsize
tp_basicsizehttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_basicsize
__bases__http://python.github.io/python-docs-fa/reference/datamodel.html#type.__bases__
__new__()http://python.github.io/python-docs-fa/reference/datamodel.html#object.__new__
objecthttp://python.github.io/python-docs-fa/builtins/functions.html#object
Py_TPFLAGS_DEFAULThttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.Py_TPFLAGS_DEFAULT
tp_dochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_doc
tp_newhttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_new
__new__()http://python.github.io/python-docs-fa/reference/datamodel.html#object.__new__
PyType_GenericNew()http://python.github.io/python-docs-fa/c-api/type.html#c.PyType_GenericNew
ob_typehttp://python.github.io/python-docs-fa/c-api/structures.html#c.PyObject.ob_type
http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example
tp_deallochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
Py_XDECREF()http://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_XDECREF
tp_freehttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_free
tp_newhttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_new
__new__()http://python.github.io/python-docs-fa/reference/datamodel.html#object.__new__
PyType_GenericNew()http://python.github.io/python-docs-fa/c-api/type.html#c.PyType_GenericNew
tp_allochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_alloc
tp_allochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_alloc
tp_allochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_alloc
PyType_Ready()http://python.github.io/python-docs-fa/c-api/type.html#c.PyType_Ready
objecthttp://python.github.io/python-docs-fa/builtins/functions.html#object
tp_newhttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_new
__new__()http://python.github.io/python-docs-fa/reference/datamodel.html#object.__new__
TypeErrorhttp://python.github.io/python-docs-fa/builtins/exceptions.html#TypeError
tp_inithttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_init
tp_inithttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_init
__init__()http://python.github.io/python-docs-fa/reference/datamodel.html#object.__init__
picklehttp://python.github.io/python-docs-fa/library/pickle.html#module-pickle
__init__()http://python.github.io/python-docs-fa/reference/datamodel.html#object.__init__
وضعیت نخhttp://python.github.io/python-docs-fa/glossary.html#term-attached-thread-state
[1]http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id5
وضعیت نخhttp://python.github.io/python-docs-fa/glossary.html#term-attached-thread-state
tp_deallochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
[2]http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id6
tp_membershttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_members
مدیریت عام ویژگیhttp://python.github.io/python-docs-fa/extending/newtypes.html#generic-attribute-management
METH_NOARGShttp://python.github.io/python-docs-fa/c-api/structures.html#c.METH_NOARGS
tp_methodshttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_methods
Py_TPFLAGS_BASETYPEhttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.Py_TPFLAGS_BASETYPE
PyModuleDefhttp://python.github.io/python-docs-fa/c-api/module.html#c.PyModuleDef
PyTypeObjecthttp://python.github.io/python-docs-fa/c-api/type.html#c.PyTypeObject
http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes
PyGetSetDefhttp://python.github.io/python-docs-fa/c-api/structures.html#c.PyGetSetDef
tp_getsethttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_getset
PyGetSetDefhttp://python.github.io/python-docs-fa/c-api/structures.html#c.PyGetSetDef
tp_inithttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_init
[3]http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id7
Py_XDECREF()http://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_XDECREF
Py_DECREF()http://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_DECREF
http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection
زباله‌روب چرخه‌ای (GC)http://python.github.io/python-docs-fa/glossary.html#term-garbage-collection
[4]http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id8
Py_VISIT()http://python.github.io/python-docs-fa/c-api/gcsupport.html#c.Py_VISIT
tp_traversehttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_traverse
Py_VISIT()http://python.github.io/python-docs-fa/c-api/gcsupport.html#c.Py_VISIT
Py_CLEAR()http://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_CLEAR
Py_XDECREF()http://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_XDECREF
Py_CLEAR()http://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_CLEAR
Py_CLEAR()http://python.github.io/python-docs-fa/c-api/refcounting.html#c.Py_CLEAR
PyObject_GC_UnTrack()http://python.github.io/python-docs-fa/c-api/gcsupport.html#c.PyObject_GC_UnTrack
Py_TPFLAGS_HAVE_GChttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.Py_TPFLAGS_HAVE_GC
tp_allochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_alloc
tp_freehttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_free
http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#subclassing-other-types
PyTypeObjecthttp://python.github.io/python-docs-fa/c-api/type.html#c.PyTypeObject
listhttp://python.github.io/python-docs-fa/builtins/stdtypes.html#list
PyObject_HEAD()http://python.github.io/python-docs-fa/c-api/structures.html#c.PyObject_HEAD
__init__()http://python.github.io/python-docs-fa/reference/datamodel.html#object.__init__
tp_newhttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_new
tp_deallochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
tp_allochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_alloc
PyTypeObjecthttp://python.github.io/python-docs-fa/c-api/type.html#c.PyTypeObject
tp_basehttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_base
PyList_Typehttp://python.github.io/python-docs-fa/c-api/list.html#c.PyList_Type
Py_mod_exechttp://python.github.io/python-docs-fa/c-api/module.html#c.Py_mod_exec
PyType_Ready()http://python.github.io/python-docs-fa/c-api/type.html#c.PyType_Ready
tp_basehttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_base
tp_allochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_alloc
PyType_GenericNew()http://python.github.io/python-docs-fa/c-api/type.html#c.PyType_GenericNew
PyType_Ready()http://python.github.io/python-docs-fa/c-api/type.html#c.PyType_Ready
1http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id1
2http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id2
tp_deallochttp://python.github.io/python-docs-fa/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
3http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id3
4http://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#id4
strhttp://python.github.io/python-docs-fa/builtins/stdtypes.html#str
فهرست مطالبhttp://python.github.io/python-docs-fa/contents.html
تعریف نوع‌های توسعه‌ای: آموزشhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html
مبانیhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#the-basics
افزودن داده‌ها و متدها به مثال پایهhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example
فراهم کردن کنترل دقیق‌تر بر ویژگی‌های دادهhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes
پشتیبانی از زباله‌روبی چرخه‌ایhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection
زیرکلاس‌سازی نوع‌های دیگرhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html#subclassing-other-types
استفاده از C API: موضوعات متفرقهhttp://python.github.io/python-docs-fa/extending/extending.html
تعریف نوع‌های توسعه‌ای: موضوعات گوناگونhttp://python.github.io/python-docs-fa/extending/newtypes.html
گزارش یک اشکالhttp://python.github.io/python-docs-fa/bugs.html
بهبود این صفحهhttp://python.github.io/python-docs-fa/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
اندیسhttp://python.github.io/python-docs-fa/genindex.html
ماژول‌هاhttp://python.github.io/python-docs-fa/py-modindex.html
بعدیhttp://python.github.io/python-docs-fa/extending/newtypes.html
قبلیhttp://python.github.io/python-docs-fa/extending/extending.html
Pythonhttps://www.python.org/
3.15.2 documentationhttp://python.github.io/python-docs-fa/index.html
توسعه و تعبیه مفسر پایتونhttp://python.github.io/python-docs-fa/extending/index.html
تعریف نوع‌های توسعه‌ای: آموزشhttp://python.github.io/python-docs-fa/extending/newtypes_tutorial.html
حق نشرhttp://python.github.io/python-docs-fa/copyright.html
تاریخچه و مجوزhttp://python.github.io/license.html
لطفاً کمک مالی کنید.https://www.python.org/psf/donations/
اشکالی یافتیدhttp://python.github.io/bugs.html
Sphinxhttps://www.sphinx-doc.org/

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


URLs of crawlers that visited me.