File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,13 @@ as much as it can.
6767.. c :function :: PyObject* PyWeakref_GET_OBJECT (PyObject *ref)
6868
6969 Similar to :c:func: `PyWeakref_GetObject `, but does no error checking.
70+
71+
72+ .. c :function :: void PyObject_ClearWeakRefs (PyObject *object)
73+
74+ This function is called by the :c:member: `~PyTypeObject.tp_dealloc ` handler
75+ to clear weak references.
76+
77+ This iterates through the weak references for *object * and calls callbacks
78+ for those references which have one. It returns when all callbacks have
79+ been attempted.
Original file line number Diff line number Diff line change @@ -956,6 +956,13 @@ Introspection
956956 .. versionadded :: 3.7
957957
958958
959+ .. function :: iscoroutine(obj)
960+
961+ Return ``True `` if *obj * is a coroutine object.
962+
963+ .. versionadded :: 3.4
964+
965+
959966Task Object
960967===========
961968
Original file line number Diff line number Diff line change @@ -143,6 +143,12 @@ The module defines the following items:
143143 :func: `time.time ` and the :attr: `~os.stat_result.st_mtime ` attribute of
144144 the object returned by :func: `os.stat `.
145145
146+ .. attribute :: name
147+
148+ The path to the gzip file on disk, as a :class: `str ` or :class: `bytes `.
149+ Equivalent to the output of :func: `os.fspath ` on the original input path,
150+ with no other normalization, resolution or expansion.
151+
146152 .. versionchanged :: 3.1
147153 Support for the :keyword: `with ` statement was added, along with the
148154 *mtime * constructor argument and :attr: `mtime ` attribute.
You can’t perform that action at this time.
0 commit comments