Home
last modified time | relevance | path

Searched refs:spam (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/python/Lib/test/
Dtest_property.py25 def spam(self): member in BaseClass
29 @spam.setter
30 def spam(self, value): member in BaseClass
33 @spam.deleter
34 def spam(self): member in BaseClass
39 @BaseClass.spam.getter
40 def spam(self): member in SubClass
44 @spam.setter
45 def spam(self, value): member in SubClass
48 @spam.deleter
[all …]
Dtest_dynamicclassattribute.py26 def spam(self): member in BaseClass
30 @spam.setter
31 def spam(self, value): member in BaseClass
34 @spam.deleter
35 def spam(self): member in BaseClass
40 spam = BaseClass.__dict__['spam'] variable in SubClass
42 @spam.getter
43 def spam(self): member in SubClass
47 @spam.setter
48 def spam(self, value): member in SubClass
[all …]
Dtest_symtable.py58 spam = find_block(top, "spam") variable in SymtableTest
59 internal = find_block(spam, "internal")
60 other_internal = find_block(spam, "other_internal")
67 self.assertEqual(self.spam.get_type(), "function")
74 self.assertGreater(self.spam.get_id(), 0)
80 self.assertTrue(self.spam.is_optimized())
85 self.assertFalse(self.spam.is_nested())
95 self.assertEqual(self.spam.get_lineno(), 14)
98 func = self.spam
106 self.assertTrue(self.spam.lookup("glob").is_global())
[all …]
Dtest_named_expressions.py267 if spam := "eggs":
268 self.assertEqual(spam, "eggs")
272 if True and (spam := True):
273 self.assertTrue(spam)
282 def spam(a): function
285 res = [(x, y, x/y) for x in input_data if (y := spam(x)) > 0]
290 def spam(a): function
292 res = [[y := spam(x), x/y] for x in range(1, 5)]
375 def spam(a): function
377 res = [[y := spam(x), x/y] for x in range(1, 5)]
[all …]
Dtest_argparse.py1238 ('a', NS(spam='a')),
1239 ('g', NS(spam='g')),
1249 ('4', NS(spam=4)),
1250 ('15', NS(spam=15)),
1263 ('a b c', NS(spam=['a', ['b', 'c']])),
1593 ('foo', NS(x=None, spam=RFile('foo'))),
1594 ('-x foo bar', NS(x=RFile('foo'), spam=RFile('bar'))),
1595 ('bar -x foo', NS(x=RFile('foo'), spam=RFile('bar'))),
1596 ('-x - -', NS(x=eq_stdin, spam=eq_stdin)),
1597 ('readonly', NS(x=None, spam=RFile('readonly'))),
[all …]
Dtest_types.py1624 del ns1.spam
1626 del ns2.spam
1635 ns1.spam = 5
1636 self.assertEqual(vars(ns1), dict(spam=5))
1637 del ns1.spam
1663 ns2.spam = ns1
1665 ns2.spam = ns3
1668 self.assertEqual(vars(ns2), dict(spam=ns3, ham='?'))
1669 self.assertEqual(ns2.spam, ns3)
1677 ns1.spam = ns1
[all …]
Dinspect_fodder.py8 def spam(a, /, b, c, d=3, e=4, f=5, *g, **h): function
43 spam(a, b, c)
Dtokenize_tests.txt111 """ + R'''spam
129 """ + bR'''spam
133 """ + Rb'''spam
Dtest_smtpd.py723 spam = self.channel._SMTPChannel__server
727 spam = self.channel._SMTPChannel__line
731 spam = self.channel._SMTPChannel__state
735 spam = self.channel._SMTPChannel__greeting
739 spam = self.channel._SMTPChannel__mailfrom
743 spam = self.channel._SMTPChannel__rcpttos
747 spam = self.channel._SMTPChannel__data
751 spam = self.channel._SMTPChannel__fqdn
755 spam = self.channel._SMTPChannel__peer
759 spam = self.channel._SMTPChannel__conn
[all …]
Dtest_iter.py253 def spam(state=[0]): function
257 self.check_iterator(iter(spam, 10), list(range(10)), pickle=False)
261 def spam(state=[0]): function
267 self.check_iterator(iter(spam, 20), list(range(10)), pickle=False)
271 def spam(state=[0]): function
279 for x in iter(spam, 20):
941 def spam(state=[0]): function
947 b = iter(spam, 5)
Dtest_inspect.py241 self.assertTrue(inspect.isroutine(mod.spam))
432 ('spam', mod.spam)])
516 self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile)
892 self.assertArgSpecEquals(mod.spam,
938 @functools.wraps(mod.spam)
951 @functools.wraps(mod.spam)
955 @functools.wraps(mod.spam)
965 @functools.wraps(mod.spam)
971 @functools.wraps(mod.spam)
2050 self.spam = 42
[all …]
Dtest_descr.py303 import copy, xxsubtype as spam namespace
306 import xxsubtype as spam namespace
307 return spam.spamlist(l)
310 copy._deepcopy_dispatch[spam.spamlist] = spamlist
333 class C(spam.spamlist):
347 import copy, xxsubtype as spam namespace
349 import xxsubtype as spam namespace
350 sd = spam.spamdict()
355 copy._deepcopy_dispatch[spam.spamdict] = spamdict
383 class C(spam.spamdict):
[all …]
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/
DCMakeLists.txt1 project(lws-minimal-ws-client-spam C)
9 set(SAMP lws-minimal-ws-client-spam)
10 set(SRCS minimal-ws-client-spam.c)
72 …add_test(NAME ws-client-spam COMMAND lws-minimal-ws-client-spam --server localhost --port ${PORT_W…
73 set_tests_properties(ws-client-spam PROPERTIES
74 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/ws-client/minimal-ws-client-spam
DREADME.md32 $ ./lws-minimal-ws-client-spam -c 20 -l 200 --server localhost --port 7681
36 $ ./lws-minimal-ws-client-spam
/third_party/parse5/test/data/parser-feedback/
Dtests12.test5 …</mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img>…
6 …</mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img>…
105 "spam"
176 …</mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img>…
177 …</mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img>…
271 "spam"
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-client-tx/
DREADME.md4 "spam"... this is a websocket connection to libwebsockets.org.
29 [2021/02/19 11:25:20:8590] N: ++ [1100944|SSPcli|0|spam] (1)
30 …1:25:20:8810] N: ++ [1100944|wsiSSPcli|0|RAW/raw-skt/+@proxy.ss.lws/([1100944|SSPcli|0|spam])] (1)
31 …pc_sul_retry_cb: [1100944|wsiSSPcli|0|RAW/raw-skt/+@proxy.ss.lws/([1100944|SSPcli|0|spam|default])]
/third_party/python/Doc/extending/
Dwindows.rst94 In Windows, using an import library is sort of like using ``import spam``; it
95 gives you access to spam's names, but does not create a separate copy. On Unix,
96 linking with a library is more like ``from spam import *``; it does create a
113 To build two DLLs, spam and ni (which uses C functions found in spam), you could
116 cl /LD /I/python/include spam.c ../libs/pythonXY.lib
117 cl /LD /I/python/include ni.c spam.lib ../libs/pythonXY.lib
119 The first command created three files: :file:`spam.obj`, :file:`spam.dll` and
120 :file:`spam.lib`. :file:`Spam.dll` does not contain any Python functions (such
125 which knows how to find the necessary functions from spam, and also from the
/third_party/node/test/parallel/
Dtest-tls-client-renegotiation-limit.js71 const client = tls.connect(options, spam);
91 function spam() { function
96 spam();
Dtest-https-client-renegotiation-limit.js97 spam();
100 function spam() { function
104 setImmediate(spam);
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/
DCMakeLists.txt1 project(lws-minimal-ws-client-spam-tx-rx C)
9 set(SAMP lws-minimal-ws-client-spam-tx-rx)
/third_party/python/Doc/library/
Dpprint.rst88 >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
92 [ ['spam', 'eggs', 'lumberjack', 'knights', 'ni'],
93 'spam',
100 [['spam', 'eggs', 'lumberjack',
102 'spam', 'eggs', 'lumberjack', 'knights',
104 >>> tup = ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead',
108 ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead', (...)))))))
161 >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
165 'spam',
199 "[<Recursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni']"
Dcontextvars.rst159 var.set('spam')
162 # 'var' was set to 'spam' before
164 # var.get() == ctx[var] == 'spam'
181 # However, outside of 'ctx', 'var' is still set to 'spam':
182 # var.get() == 'spam'
/third_party/python/Doc/tutorial/
Dclasses.rst170 spam = "local spam"
173 nonlocal spam
174 spam = "nonlocal spam"
177 global spam
178 spam = "global spam"
180 spam = "test spam"
182 print("After local assignment:", spam)
184 print("After nonlocal assignment:", spam)
186 print("After global assignment:", spam)
189 print("In global scope:", spam)
[all …]
/third_party/python/Lib/test/test_import/data/circular_imports/
Dsource.py2 spam = 1 variable
Duse.py2 source.spam

12345