Home
last modified time | relevance | path

Searched refs:meth (Results 1 – 25 of 758) sorted by relevance

12345678910>>...31

/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst47 * - :meth:`loop.run_until_complete`
50 * - :meth:`loop.run_forever`
53 * - :meth:`loop.stop`
56 * - :meth:`loop.close`
59 * - :meth:`loop.is_running()`
62 * - :meth:`loop.is_closed()`
65 * - ``await`` :meth:`loop.shutdown_asyncgens`
74 * - :meth:`loop.set_debug`
77 * - :meth:`loop.get_debug`
86 * - :meth:`loop.call_soon`
[all …]
Dcollections.abc.rst105 ABCs for classes that provide respectively the methods :meth:`__contains__`,
106 :meth:`__hash__`, :meth:`__len__`, and :meth:`__call__`.
110 ABC for classes that provide the :meth:`__iter__` method.
113 as :class:`Iterable` or that have an :meth:`__iter__` method, but it does
114 not detect classes that iterate with the :meth:`__getitem__` method.
126 ABC for classes that provide the :meth:`~iterator.__iter__` and
127 :meth:`~iterator.__next__` methods. See also the definition of
132 ABC for iterable classes that also provide the :meth:`__reversed__`
140 :pep:`342` that extends iterators with the :meth:`~generator.send`,
141 :meth:`~generator.throw` and :meth:`~generator.close` methods.
[all …]
Dasyncio-platforms.rst19 * :meth:`loop.add_reader` and :meth:`loop.add_writer`
38 * :meth:`loop.create_unix_connection` and
39 :meth:`loop.create_unix_server` are not supported.
42 * :meth:`loop.add_signal_handler` and
43 :meth:`loop.remove_signal_handler` are not supported.
50 * :meth:`loop.add_reader` and :meth:`loop.add_writer` only accept
53 * Pipes are not supported, so the :meth:`loop.connect_read_pipe`
54 and :meth:`loop.connect_write_pipe` methods are not implemented.
57 :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell`
62 * The :meth:`loop.add_reader` and :meth:`loop.add_writer`
[all …]
Ddataclasses.rst15 adding generated :term:`special method`\s such as :meth:`__init__` and
16 :meth:`__repr__` to user-defined classes. It was originally described
32 Will add, among other things, a :meth:`__init__` that looks like::
85 - ``init``: If true (the default), a :meth:`__init__` method will be
88 If the class already defines :meth:`__init__`, this parameter is
91 - ``repr``: If true (the default), a :meth:`__repr__` method will be
98 If the class already defines :meth:`__repr__`, this parameter is
101 - ``eq``: If true (the default), an :meth:`__eq__` method will be
106 If the class already defines :meth:`__eq__`, this parameter is
109 - ``order``: If true (the default is ``False``), :meth:`__lt__`,
[all …]
Dthreading.rst121 :meth:`~Thread.run` method is called.
130 :meth:`~Thread.run` method is called.
158 (:meth:`Lock.acquire`, :meth:`RLock.acquire`, :meth:`Condition.wait`, etc.).
207 callable object to the constructor, or by overriding the :meth:`~Thread.run`
210 :meth:`~Thread.__init__` and :meth:`~Thread.run` methods of this class.
213 thread's :meth:`~Thread.start` method. This invokes the :meth:`~Thread.run`
217 stops being alive when its :meth:`~Thread.run` method terminates -- either
218 normally, or by raising an unhandled exception. The :meth:`~Thread.is_alive`
221 Other threads can call a thread's :meth:`~Thread.join` method. This blocks
222 the calling thread until the thread whose :meth:`~Thread.join` method is
[all …]
Dcmd.rst69 has a method :meth:`do_foo`. As a special case, a line beginning with the
70 character ``'?'`` is dispatched to the method :meth:`do_help`. As another
72 method :meth:`do_shell` (if such a method is defined).
74 This method will return when the :meth:`postcmd` method returns a true value.
75 The *stop* argument to :meth:`postcmd` is the return value from the command's
76 corresponding :meth:`do_\*` method.
79 completing of commands args is done by calling :meth:`complete_foo` with
86 All subclasses of :class:`Cmd` inherit a predefined :meth:`do_help`. This
88 :meth:`help_bar`, and if that is not present, prints the docstring of
89 :meth:`do_bar`, if available. With no argument, :meth:`do_help` lists all
[all …]
Dasyncio-protocol.rst14 APIs such as :meth:`loop.create_connection`. They use
45 (such as :meth:`loop.create_connection`) usually accept a
101 the :meth:`loop.connect_write_pipe` event loop method and
103 :meth:`loop.subprocess_exec`.
110 the :meth:`loop.connect_read_pipe` event loop method and
112 :meth:`loop.subprocess_exec`.
124 event loop methods like :meth:`loop.create_connection`,
125 :meth:`loop.create_unix_connection`,
126 :meth:`loop.create_server`, :meth:`loop.sendfile`, etc.
134 the :meth:`loop.create_datagram_endpoint` event loop method.
[all …]
D2to3.rst166 ``failUnlessEqual(a, b)`` :meth:`assertEqual(a, b)
168 ``assertEquals(a, b)`` :meth:`assertEqual(a, b)
170 ``failIfEqual(a, b)`` :meth:`assertNotEqual(a, b)
172 ``assertNotEquals(a, b)`` :meth:`assertNotEqual(a, b)
174 ``failUnless(a)`` :meth:`assertTrue(a)
176 ``assert_(a)`` :meth:`assertTrue(a)
178 ``failIf(a)`` :meth:`assertFalse(a)
180 ``failUnlessRaises(exc, cal)`` :meth:`assertRaises(exc, cal)
182 ``failUnlessAlmostEqual(a, b)`` :meth:`assertAlmostEqual(a, b)
184 ``assertAlmostEquals(a, b)`` :meth:`assertAlmostEqual(a, b)
[all …]
/external/python/cpython2/Doc/library/
Dfl.rst170 All the :meth:`add_\*` methods return a Python object representing the FORMS
252 Add a clock object to the form. --- Method: :meth:`get_clock`.
257 Add a button object to the form. --- Methods: :meth:`get_button`,
258 :meth:`set_button`.
263 Add a lightbutton object to the form. --- Methods: :meth:`get_button`,
264 :meth:`set_button`.
269 Add a roundbutton object to the form. --- Methods: :meth:`get_button`,
270 :meth:`set_button`.
275 Add a slider object to the form. --- Methods: :meth:`set_slider_value`,
276 :meth:`get_slider_value`, :meth:`set_slider_bounds`, :meth:`get_slider_bounds`,
[all …]
Demail.rst118 :meth:`Generator.__call__`, :meth:`Message.get_type`,
119 :meth:`Message.get_main_type`, :meth:`Message.get_subtype`.
142 :meth:`Message.add_payload` method, the :func:`Utils.dump_address_pair`
146 :meth:`Generator.__call__`, :meth:`Message.get_type`,
147 :meth:`Message.get_main_type`, :meth:`Message.get_subtype`, and the *strict*
172 :meth:`~email.message.Message.is_multipart` returned false,
173 :meth:`~email.message.Message.get_payload` was not a list object, but a
179 :meth:`~email.message.Message.is_multipart`, and
180 :meth:`~email.message.Message.get_payload` returns a list containing a single
185 :meth:`~email.message.Message.get_payload`, you should be fine. You just need
[all …]
Dcmd.rst67 has a method :meth:`do_foo`. As a special case, a line beginning with the
68 character ``'?'`` is dispatched to the method :meth:`do_help`. As another
70 method :meth:`do_shell` (if such a method is defined).
72 This method will return when the :meth:`postcmd` method returns a true value.
73 The *stop* argument to :meth:`postcmd` is the return value from the command's
74 corresponding :meth:`do_\*` method.
77 completing of commands args is done by calling :meth:`complete_foo` with
84 All subclasses of :class:`Cmd` inherit a predefined :meth:`do_help`. This
86 :meth:`help_bar`, and if that is not present, prints the docstring of
87 :meth:`do_bar`, if available. With no argument, :meth:`do_help` lists all
[all …]
Dthreading.rst89 that can be set to true with the :meth:`~Event.set` method and reset to false
90 with the :meth:`clear` method. The :meth:`wait` method blocks until the flag
136 counter representing the number of :meth:`release` calls minus the number of
137 :meth:`acquire` calls, plus an initial value. The :meth:`acquire` method blocks
176 :meth:`~Thread.run` method is called.
187 :meth:`~Thread.run` method is called.
239 constructor, or by overriding the :meth:`run` method in a subclass. No other
241 other words, *only* override the :meth:`__init__` and :meth:`run` methods of
245 thread's :meth:`start` method. This invokes the :meth:`run` method in a
249 stops being alive when its :meth:`run` method terminates -- either normally, or
[all …]
D2to3.rst166 ``failUnlessEqual(a, b)`` :meth:`assertEqual(a, b)
168 ``assertEquals(a, b)`` :meth:`assertEqual(a, b)
170 ``failIfEqual(a, b)`` :meth:`assertNotEqual(a, b)
172 ``assertNotEquals(a, b)`` :meth:`assertNotEqual(a, b)
174 ``failUnless(a)`` :meth:`assertTrue(a)
176 ``assert_(a)`` :meth:`assertTrue(a)
178 ``failIf(a)`` :meth:`assertFalse(a)
180 ``failUnlessRaises(exc, cal)`` :meth:`assertRaises(exc, cal)
182 ``failUnlessAlmostEqual(a, b)`` :meth:`assertAlmostEqual(a, b)
184 ``assertAlmostEquals(a, b)`` :meth:`assertAlmostEqual(a, b)
[all …]
Dsgmllib.rst71 :meth:`close` is called.
79 :meth:`close`.
92 This method is called to handle start tags for which either a :meth:`start_tag`
93 or :meth:`do_tag` method has been defined. The *tag* argument is the name of
117 This method is called to handle endtags for which an :meth:`end_tag` method has
120 support semantic interpretation of the end tag. If no :meth:`end_tag` method is
134 The base implementation uses :meth:`convert_charref` to convert the reference to
135 a string. If that method returns a string, it is passed to :meth:`handle_data`,
139 Use :meth:`convert_charref` instead of hard-coding the conversion.
147 :meth:`convert_codepoint` method. If *ref* is invalid or out of range, this
[all …]
Dsets.rst31 except for :meth:`__hash__`. For advanced applications requiring a hash method,
32 the :class:`ImmutableSet` class adds a :meth:`__hash__` method but omits methods
39 that the element defines both :meth:`__eq__` and :meth:`__hash__`. As a result,
62 Because :class:`ImmutableSet` objects provide a :meth:`__hash__` method, they
109 Note, the non-operator versions of :meth:`union`, :meth:`intersection`,
110 :meth:`difference`, and :meth:`symmetric_difference` will accept any iterable as
130 or ``a>b``. Accordingly, sets do not implement the :meth:`__cmp__` method.
133 the :meth:`list.sort` method is undefined for lists of sets.
178 Note, the non-operator versions of :meth:`update`, :meth:`intersection_update`,
179 :meth:`difference_update`, and :meth:`symmetric_difference_update` will accept
[all …]
/external/python/cpython2/Lib/compiler/
Dvisitor.py45 meth = self._cache.get(klass, None)
46 if meth is None:
48 meth = getattr(self.visitor, 'visit' + className, self.default)
49 self._cache[klass] = meth
57 return meth(node, *args)
76 meth = self._cache.get(node.__class__, None)
78 if meth is None:
79 meth = getattr(self.visitor, 'visit' + className, 0)
80 self._cache[node.__class__] = meth
82 print "dispatch", className, (meth and meth.__name__ or '')
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_calltip.py177 for meth in (TC.t1, TC.t2, TC.t3, TC.t4, TC.t5, TC.t6, TC.__call__):
178 with self.subTest(meth=meth):
179 self.assertEqual(get_spec(meth), meth.tip + doc)
186 for meth, mtip in ((tc.t1, "()"), (tc.t4, "(*args)"),
189 with self.subTest(meth=meth, mtip=mtip):
190 self.assertEqual(get_spec(meth), mtip + doc)
197 for meth, mtip in ((C.m1, '(*args)'), (c.m1, "(*args)"),):
198 with self.subTest(meth=meth, mtip=mtip):
199 self.assertEqual(get_spec(meth), mtip)
218 for meth, mtip in ((TC.nd, "(self)"), (tc.nd, "()")):
[all …]
/external/clang/test/Index/
Dcursor-dynamic-call.mm3 virtual void meth(); field
8 this->meth();
9 SB::meth();
14 -(void)meth; method
25 [self meth];
26 [super meth];
34 ss->meth();
35 [is meth];
64 // CHECK: 8:11 MemberRefExpr=meth:3:16 {{.*}} Dynamic-call
66 // CHECK: 25:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer
[all …]
Doverrides.m43 -(void)meth; method in cat
50 -(void)meth { } method
61 -(void)meth; method
72 -(void)meth; method in readwrite
88 -(void)meth; method
92 -(void)meth; method in cat
96 -(void)meth{} method
107 // CHECK: overrides.m:50:8: ObjCInstanceMethodDecl=meth:50:8 (Definition) [Overrides @43:8]
114 // CHECK: overrides.m:72:8: ObjCInstanceMethodDecl=meth:72:8 [Overrides @61:8] Extent=[72:1 - 72:13]
117 // CHECK: overrides.m:92:8: ObjCInstanceMethodDecl=meth:92:8 Extent=[92:1 - 92:13]
[all …]
/external/clang/test/SemaObjC/
Dmethod-undefined-warn-1.m4 - (void) meth; method
5 - (void) meth : (int) arg1;
14 - (void) meth {} method
15 - (void) meth : (int) arg2{}
20 - (void) meth; method
21 - (void) meth : (int) arg1;
30 - (void) meth {} method
31 - (void) meth : (int) arg2{}
36 - (void) meth; method
37 - (void) meth : (int) arg1;
[all …]
Dwarn-category-method-deprecated.m5 - (void)meth; method
12 - (void)meth __attribute__((deprecated)); // expected-note {{'meth' has been explicitly marked depr…
16 [i meth]; // expected-warning {{'meth' is deprecated}}
Dcheck-dup-decl-methods-1.m4 - (int) meth; method
11 - (int) meth; // expected-note {{previous declaration is here}} method
12 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method
35 - (int) meth; // expected-note {{previous declaration is here}} method
36 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method
/external/python/cpython3/Include/
Dclassobject.h31 #define PyMethod_GET_FUNCTION(meth) \ argument
32 (((PyMethodObject *)meth) -> im_func)
33 #define PyMethod_GET_SELF(meth) \ argument
34 (((PyMethodObject *)meth) -> im_self)
52 #define PyInstanceMethod_GET_FUNCTION(meth) \ argument
53 (((PyInstanceMethodObject *)meth) -> func)
/external/python/cpython2/Doc/c-api/
Dmethod.rst36 .. c:function:: PyObject* PyMethod_Class(PyObject *meth)
38 Return the class object from which the method *meth* was created; if this was
42 .. c:function:: PyObject* PyMethod_GET_CLASS(PyObject *meth)
47 .. c:function:: PyObject* PyMethod_Function(PyObject *meth)
49 Return the function object associated with the method *meth*.
52 .. c:function:: PyObject* PyMethod_GET_FUNCTION(PyObject *meth)
57 .. c:function:: PyObject* PyMethod_Self(PyObject *meth)
59 Return the instance associated with the method *meth* if it is bound, otherwise
63 .. c:function:: PyObject* PyMethod_GET_SELF(PyObject *meth)
/external/python/cpython2/Include/
Dclassobject.h69 #define PyMethod_GET_FUNCTION(meth) \ argument
70 (((PyMethodObject *)meth) -> im_func)
71 #define PyMethod_GET_SELF(meth) \ argument
72 (((PyMethodObject *)meth) -> im_self)
73 #define PyMethod_GET_CLASS(meth) \ argument
74 (((PyMethodObject *)meth) -> im_class)

12345678910>>...31