You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><strong>ProcessPoolExecutor provides true parallelism but: everything sent to/from workers must be <ahref="#pickle">pickable</a>, queues must be sent using executor's 'initargs' and 'initializer' parameters, and executor should only be reachable via <codeclass="python hljs"><spanclass="hljs-string">'if __name__ == "__main__": ...'</span></code>.</strong></li>
1776
1776
</ul>
1777
1777
<div><h2id="operator"><ahref="#operator" name="operator">#</a>Operator</h2><p><strong>Module of functions that provide the functionality of operators. Functions are ordered by operator precedence, starting with least binding.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">import</span> operator <spanclass="hljs-keyword">as</span> op
1778
-
<bool> = op.not_(<obj>) <spanclass="hljs-comment"># or, and, not (or/and missing)</span>
<spanclass="hljs-meta">... </span> print(<spanclass="hljs-string">f'<spanclass="hljs-subst">{stem}</span><spanclass="hljs-subst">{suffix}</span> is a readme file that belongs to user <spanclass="hljs-subst">{user}</span>.'</span>)
<spanclass="hljs-meta">... </span> print(<spanclass="hljs-string">f'<spanclass="hljs-subst">{p.name}</span> is a readme file that belongs to user <spanclass="hljs-subst">{user}</span>.'</span>)
1833
1832
<spanclass="hljs-string">'README.md is a readme file that belongs to user gto.'</span>
'<span class="hljs-meta">... </span> print(<span class="hljs-string">f\'<span class="hljs-subst">{stem}</span><span class="hljs-subst">{suffix}</span> is a readme file that belongs to user <span class="hljs-subst">{user}</span>.\'</span>)\n'+
'<span class="hljs-meta">... </span> print(<span class="hljs-string">f\'<span class="hljs-subst">{p.name}</span> is a readme file that belongs to user <span class="hljs-subst">{user}</span>.\'</span>)\n'+
120
118
'<span class="hljs-string">\'README.md is a readme file that belongs to user gto.\'</span>\n';
0 commit comments