-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path03.html
More file actions
138 lines (120 loc) · 5.88 KB
/
03.html
File metadata and controls
138 lines (120 loc) · 5.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><no title> — Pense Python 2e documentation</title>
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2e',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="Pense Python 2e documentation" href="../index.html" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
</head>
<body role="document">
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<dl class="docutils">
<dt>função (<em>function</em>)</dt>
<dd>A named sequence of statements that performs some useful operation. Functions may or may not take arguments and may or may not produce a result.</dd>
<dt>definição de função (<em>function definition</em>)</dt>
<dd>A statement that creates a new function, specifying its name, parameters, and the statements it contains.</dd>
<dt>objeto-função (<em>function object</em>)</dt>
<dd>A value created by a function definition. The name of the function is a variable that refers to a function object.</dd>
<dt>cabeçalho (<em>header</em>)</dt>
<dd>The first line of a function definition.</dd>
<dt>corpo (<em>body</em>)</dt>
<dd>The sequence of statements inside a function definition.</dd>
<dt>parâmetro (<em>parameter</em>)</dt>
<dd>A name used inside a function to refer to the value passed as an argument.</dd>
<dt>chamada de função (<em>function call</em>)</dt>
<dd>A statement that runs a function. It consists of the function name followed by an argument list in parentheses.</dd>
<dt>argumento (<em>argument</em>)</dt>
<dd>A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.</dd>
<dt>variável local (<em>local variable</em>)</dt>
<dd>A variable defined inside a function. A local variable can only be used inside its function.</dd>
<dt>valor devolvido (<em>return value</em>)</dt>
<dd>The result of a function. If a function call is used as an expression, the return value is the value of the expression.</dd>
<dt>função produtiva (<em>fruitful function</em>)</dt>
<dd>A function that returns a value.</dd>
<dt>procedimento (<em>void function</em>)</dt>
<dd>A function that always returns None.</dd>
<dt><em>None</em></dt>
<dd>A special value returned by void functions.</dd>
<dt>módulo (<em>module</em>)</dt>
<dd>A file that contains a collection of related functions and other definitions.</dd>
<dt>instrução <code class="docutils literal"><span class="pre">import</span></code> (<em>``import`` statement</em>)</dt>
<dd>A statement that reads a module file and creates a module object.</dd>
<dt>objeto-módulo (<em>module object</em>)</dt>
<dd>A value created by an import statement that provides access to the values defined in a module.</dd>
<dt>notação de ponto (<em>dot notation</em>)</dt>
<dd>The syntax for calling a function in another module by specifying the module name followed by a dot (period) and the function name.</dd>
<dt>composição (<em>composition</em>)</dt>
<dd>Using an expression as part of a larger expression, or a statement as part of a larger statement.</dd>
<dt>fluxo de execução (<em>flow of execution</em>)</dt>
<dd>The order statements run in.</dd>
<dt>diagrama de pilha (<em>stack diagram</em>)</dt>
<dd>A graphical representation of a stack of functions, their variables, and the values they refer to.</dd>
<dt><em>frame</em> ()</dt>
<dd>A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.</dd>
<dt><em>traceback</em> ()</dt>
<dd>A list of the functions that are executing, printed when an exception occurs.</dd>
</dl>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper"><div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
</ul></li>
</ul>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/glossary/03.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©2015, Allen B. Downey.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.3.1</a>
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.6</a>
|
<a href="../_sources/glossary/03.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>