• Alexander Vasin's avatar
    Fixed typo (GH-11522) · ceb842e1
    Alexander Vasin yazdı
    
    
    Given example does not run, loop variable is missing.
    
    Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.`
    
    Perhaps it would be better to cancel all tasks instead of closing loop directly?
    
    Did not create issue, because question is quite simple.
    ceb842e1
Adı
Son kayıt (commit)
Son güncelleme
..
2to3.rst Loading commit data...
__future__.rst Loading commit data...
__main__.rst Loading commit data...
_dummy_thread.rst Loading commit data...
_thread.rst Loading commit data...
abc.rst Loading commit data...
aifc.rst Loading commit data...
allos.rst Loading commit data...
archiving.rst Loading commit data...
argparse.rst Loading commit data...
array.rst Loading commit data...
ast.rst Loading commit data...
asynchat.rst Loading commit data...
asyncio-api-index.rst Loading commit data...
asyncio-dev.rst Loading commit data...
asyncio-eventloop.rst Loading commit data...
asyncio-exceptions.rst Loading commit data...
asyncio-future.rst Loading commit data...
asyncio-llapi-index.rst Loading commit data...
asyncio-platforms.rst Loading commit data...
asyncio-policy.rst Loading commit data...
asyncio-protocol.rst Loading commit data...
asyncio-queue.rst Loading commit data...
asyncio-stream.rst Loading commit data...
asyncio-subprocess.rst Loading commit data...
asyncio-sync.rst Loading commit data...
asyncio-task.rst Loading commit data...
asyncio.rst Loading commit data...
asyncore.rst Loading commit data...
atexit.rst Loading commit data...
audioop.rst Loading commit data...
base64.rst Loading commit data...
bdb.rst Loading commit data...
binary.rst Loading commit data...
binascii.rst Loading commit data...
binhex.rst Loading commit data...
bisect.rst Loading commit data...
builtins.rst Loading commit data...
bz2.rst Loading commit data...
calendar.rst Loading commit data...
cgi.rst Loading commit data...
cgitb.rst Loading commit data...
chunk.rst Loading commit data...
cmath.rst Loading commit data...
cmd.rst Loading commit data...
code.rst Loading commit data...
codecs.rst Loading commit data...
codeop.rst Loading commit data...
collections.abc.rst Loading commit data...
collections.rst Loading commit data...
colorsys.rst Loading commit data...
compileall.rst Loading commit data...
concurrency.rst Loading commit data...
concurrent.futures.rst Loading commit data...
concurrent.rst Loading commit data...
configparser.rst Loading commit data...
constants.rst Loading commit data...
contextlib.rst Loading commit data...
contextvars.rst Loading commit data...
copy.rst Loading commit data...
copyreg.rst Loading commit data...
crypt.rst Loading commit data...
crypto.rst Loading commit data...
csv.rst Loading commit data...
ctypes.rst Loading commit data...
curses.ascii.rst Loading commit data...
curses.panel.rst Loading commit data...
curses.rst Loading commit data...
custominterp.rst Loading commit data...
dataclasses.rst Loading commit data...
datatypes.rst Loading commit data...
datetime.rst Loading commit data...
dbm.rst Loading commit data...
debug.rst Loading commit data...
decimal.rst Loading commit data...
development.rst Loading commit data...
difflib.rst Loading commit data...
dis.rst Loading commit data...
distribution.rst Loading commit data...
distutils.rst Loading commit data...
doctest.rst Loading commit data...
dummy_threading.rst Loading commit data...
email.charset.rst Loading commit data...
email.compat32-message.rst Loading commit data...
email.contentmanager.rst Loading commit data...
email.encoders.rst Loading commit data...
email.errors.rst Loading commit data...
email.examples.rst Loading commit data...
email.generator.rst Loading commit data...
email.header.rst Loading commit data...
email.headerregistry.rst Loading commit data...
email.iterators.rst Loading commit data...
email.message.rst Loading commit data...
email.mime.rst Loading commit data...
email.parser.rst Loading commit data...
email.policy.rst Loading commit data...
email.rst Loading commit data...
email.utils.rst Loading commit data...
ensurepip.rst Loading commit data...
enum.rst Loading commit data...
errno.rst Loading commit data...
exceptions.rst Loading commit data...
faulthandler.rst Loading commit data...
fcntl.rst Loading commit data...
filecmp.rst Loading commit data...
fileformats.rst Loading commit data...
fileinput.rst Loading commit data...
filesys.rst Loading commit data...
fnmatch.rst Loading commit data...
formatter.rst Loading commit data...
fractions.rst Loading commit data...
frameworks.rst Loading commit data...
ftplib.rst Loading commit data...
functional.rst Loading commit data...
functions.rst Loading commit data...
functools.rst Loading commit data...
gc.rst Loading commit data...
getopt.rst Loading commit data...
getpass.rst Loading commit data...
gettext.rst Loading commit data...
glob.rst Loading commit data...
grp.rst Loading commit data...
gzip.rst Loading commit data...
hashlib-blake2-tree.png Loading commit data...
hashlib.rst Loading commit data...
heapq.rst Loading commit data...
hmac.rst Loading commit data...
html.entities.rst Loading commit data...
html.parser.rst Loading commit data...
html.rst Loading commit data...
http.client.rst Loading commit data...
http.cookiejar.rst Loading commit data...
http.cookies.rst Loading commit data...
http.rst Loading commit data...
http.server.rst Loading commit data...
i18n.rst Loading commit data...
idle.rst Loading commit data...
imaplib.rst Loading commit data...
imghdr.rst Loading commit data...
imp.rst Loading commit data...
importlib.rst Loading commit data...
index.rst Loading commit data...
inspect.rst Loading commit data...
internet.rst Loading commit data...
intro.rst Loading commit data...
io.rst Loading commit data...
ipaddress.rst Loading commit data...
ipc.rst Loading commit data...
itertools.rst Loading commit data...
json.rst Loading commit data...
keyword.rst Loading commit data...
language.rst Loading commit data...
linecache.rst Loading commit data...
locale.rst Loading commit data...
logging.config.rst Loading commit data...
logging.handlers.rst Loading commit data...
logging.rst Loading commit data...
lzma.rst Loading commit data...
mailbox.rst Loading commit data...
mailcap.rst Loading commit data...
markup.rst Loading commit data...
marshal.rst Loading commit data...
math.rst Loading commit data...
mimetypes.rst Loading commit data...
misc.rst Loading commit data...
mm.rst Loading commit data...
mmap.rst Loading commit data...
modulefinder.rst Loading commit data...
modules.rst Loading commit data...
msilib.rst Loading commit data...
msvcrt.rst Loading commit data...
multiprocessing.rst Loading commit data...
multiprocessing.shared_memory.rst Loading commit data...
netdata.rst Loading commit data...
netrc.rst Loading commit data...
nis.rst Loading commit data...
nntplib.rst Loading commit data...
numbers.rst Loading commit data...
numeric.rst Loading commit data...
operator.rst Loading commit data...
optparse.rst Loading commit data...
os.path.rst Loading commit data...
os.rst Loading commit data...
ossaudiodev.rst Loading commit data...
othergui.rst Loading commit data...
parser.rst Loading commit data...
pathlib-inheritance.png Loading commit data...
pathlib-inheritance.svg Loading commit data...
pathlib.rst Loading commit data...
pdb.rst Loading commit data...
persistence.rst Loading commit data...
pickle.rst Loading commit data...
pickletools.rst Loading commit data...
pipes.rst Loading commit data...
pkgutil.rst Loading commit data...
platform.rst Loading commit data...
plistlib.rst Loading commit data...
poplib.rst Loading commit data...
posix.rst Loading commit data...
pprint.rst Loading commit data...
profile.rst Loading commit data...
pty.rst Loading commit data...
pwd.rst Loading commit data...
py_compile.rst Loading commit data...
pyclbr.rst Loading commit data...
pydoc.rst Loading commit data...
pyexpat.rst Loading commit data...
python.rst Loading commit data...
queue.rst Loading commit data...
quopri.rst Loading commit data...
random.rst Loading commit data...
re.rst Loading commit data...
readline.rst Loading commit data...
reprlib.rst Loading commit data...
resource.rst Loading commit data...
rlcompleter.rst Loading commit data...
runpy.rst Loading commit data...
sched.rst Loading commit data...
secrets.rst Loading commit data...
select.rst Loading commit data...
selectors.rst Loading commit data...
shelve.rst Loading commit data...
shlex.rst Loading commit data...
shutil.rst Loading commit data...
signal.rst Loading commit data...
site.rst Loading commit data...
smtpd.rst Loading commit data...
smtplib.rst Loading commit data...
sndhdr.rst Loading commit data...
socket.rst Loading commit data...
socketserver.rst Loading commit data...
spwd.rst Loading commit data...
sqlite3.rst Loading commit data...
ssl.rst Loading commit data...
stat.rst Loading commit data...
statistics.rst Loading commit data...
stdtypes.rst Loading commit data...
string.rst Loading commit data...
stringprep.rst Loading commit data...
struct.rst Loading commit data...
subprocess.rst Loading commit data...
sunau.rst Loading commit data...
superseded.rst Loading commit data...
symbol.rst Loading commit data...
symtable.rst Loading commit data...
sys.rst Loading commit data...
sysconfig.rst Loading commit data...
syslog.rst Loading commit data...
tabnanny.rst Loading commit data...
tarfile.rst Loading commit data...
telnetlib.rst Loading commit data...
tempfile.rst Loading commit data...
termios.rst Loading commit data...
test.rst Loading commit data...
text.rst Loading commit data...
textwrap.rst Loading commit data...
threading.rst Loading commit data...
time.rst Loading commit data...
timeit.rst Loading commit data...
tk.rst Loading commit data...
tkinter.rst Loading commit data...
tkinter.scrolledtext.rst Loading commit data...
tkinter.tix.rst Loading commit data...
tkinter.ttk.rst Loading commit data...
token-list.inc Loading commit data...
token.rst Loading commit data...
tokenize.rst Loading commit data...
trace.rst Loading commit data...
traceback.rst Loading commit data...
tracemalloc.rst Loading commit data...
tty.rst Loading commit data...
tulip_coro.dia Loading commit data...
tulip_coro.png Loading commit data...
turtle-star.pdf Loading commit data...
turtle-star.png Loading commit data...
turtle-star.ps Loading commit data...
turtle.rst Loading commit data...
types.rst Loading commit data...
typing.rst Loading commit data...
undoc.rst Loading commit data...
unicodedata.rst Loading commit data...
unittest.mock-examples.rst Loading commit data...
unittest.mock.rst Loading commit data...
unittest.rst Loading commit data...
unix.rst Loading commit data...
urllib.error.rst Loading commit data...
urllib.parse.rst Loading commit data...
urllib.request.rst Loading commit data...
urllib.robotparser.rst Loading commit data...
urllib.rst Loading commit data...
uu.rst Loading commit data...
uuid.rst Loading commit data...
venv.rst Loading commit data...
warnings.rst Loading commit data...
wave.rst Loading commit data...
weakref.rst Loading commit data...
webbrowser.rst Loading commit data...
windows.rst Loading commit data...
winreg.rst Loading commit data...
winsound.rst Loading commit data...
wsgiref.rst Loading commit data...
xdrlib.rst Loading commit data...
xml.dom.minidom.rst Loading commit data...
xml.dom.pulldom.rst Loading commit data...
xml.dom.rst Loading commit data...
xml.etree.elementtree.rst Loading commit data...
xml.rst Loading commit data...
xml.sax.handler.rst Loading commit data...
xml.sax.reader.rst Loading commit data...
xml.sax.rst Loading commit data...
xml.sax.utils.rst Loading commit data...
xmlrpc.client.rst Loading commit data...
xmlrpc.rst Loading commit data...
xmlrpc.server.rst Loading commit data...
zipapp.rst Loading commit data...
zipfile.rst Loading commit data...
zipimport.rst Loading commit data...
zlib.rst Loading commit data...