<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>waraby0ginger</author_name>
  <author_url>https://blog.hatena.ne.jp/waraby0ginger/</author_url>
  <blog_title>ゆくゆくは有へと</blog_title>
  <blog_url>https://iuk.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>「実践Python3」のコラム見て、ハッと閃いたのでメモ。（Python3.5） シーケンスのアンパックは引数定義のところでよく使われますね。 def func(*args, **keywords): pass みたいな感じで。アンパックはまだ使いみちがあって、入れ子になったシーケンスの内側にあるシーケンスをアンパックして平たくできます。 [1, 2, 3, *[4, 5, 6]] # &gt;&gt; [1, 2, 3, 4, 5, 6] ところで、Pythonではアンパック代入というのができて、・・・要はタプルの内部に変数を置けます（パターンマッチ的な代入？なんて言うのか分からない） tpl = (1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiuk.hateblo.jp%2Fentry%2F2016%2F11%2F28%2F201932&quot; title=&quot;python でリストのパターンマッチっぽい何か - ゆくゆくは有へと&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-11-28 20:19:32</published>
  <title>python でリストのパターンマッチっぽい何か</title>
  <type>rich</type>
  <url>https://iuk.hateblo.jp/entry/2016/11/28/201932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
