mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-23 15:30:46 +00:00
2c225b29fc
Could, as well as should, shall, must, may, can, might, etc. are auxiliary words. After an auxiliary word should come an infinitive verb.
16 lines
148 B
Plaintext
16 lines
148 B
Plaintext
%YAML 1.1
|
|
---
|
|
!!map {
|
|
? !!str "foo"
|
|
: !!str "bar baz"
|
|
}
|
|
%YAML 1.1
|
|
---
|
|
!!str "foo bar"
|
|
%YAML 1.1
|
|
---
|
|
!!str "foo bar"
|
|
%YAML 1.1
|
|
---
|
|
!!str "foo\n"
|