mirror of
https://gitee.com/open-loongarch/buildroot.git
synced 2026-10-28 22:17:14 +08:00
add miss file ,and sync kernel to 1e2e6bbbc
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import yaml
|
||||
|
||||
data = {
|
||||
"name": "python-pyyaml",
|
||||
"versions": ["1", "2"],
|
||||
"group": {
|
||||
"is_a_package": True,
|
||||
"value": 42
|
||||
}
|
||||
}
|
||||
serialized = yaml.dump(data, default_flow_style=False)
|
||||
print(serialized)
|
||||
with open("/tmp/data.yml", "w") as f:
|
||||
f.write(serialized)
|
||||
Reference in New Issue
Block a user