Changes between Version 6 and Version 7 of PyYAMLDocumentation
- Timestamp:
- 04/23/06 14:27:04 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PyYAMLDocumentation
v6 v7 238 238 Here we present most common YAML constructs together with the corresponding Python objects. 239 239 240 240 241 === Documents === 241 242 … … 277 278 }}} 278 279 280 279 281 === Block sequences === 280 282 … … 348 350 }}} 349 351 352 350 353 === Block mappings === 351 354 … … 420 423 }}} 421 424 425 422 426 === Flow collections === 423 427 … … 434 438 }}} 435 439 440 436 441 === Scalars === 437 442 443 There are 5 styles of scalars in YAML: plain, single-quoted, double-quoted, literal, and folded: 444 {{{ 445 # YAML 446 plain: Scroll of Remove Curse 447 single-quoted: 'EASY_KNOW' 448 double-quoted: "?" 449 literal: | # Borrowed from http://www.kersbergen.com/flump/religion.html 450 by hjw ___ 451 __ /.-.\ 452 / )_____________\\ Y 453 /_ /=== == === === =\ _\_ 454 ( /)=== == === === == Y \ 455 `-------------------( o ) 456 \___/ 457 folded: > 458 It removes all ordinary curses from all equipped items. 459 Heavy or permanent curses are unaffected. 460 }}} 461 {{{ 462 #!python 463 # Python 464 {'folded': 'It removes all ordinary curses from all equipped items. \ 465 Heavy or permanent curses are unaffected.\n', 466 'literal': 'by hjw ___\n __ /.-. / )_____________\\ Y\n\ 467 /_ /=== == === === =\\ _\\_\n( /)=== == === === == Y `-------------------( o )\n\ 468 \\___/\n', 469 'single-quoted': 'EASY_KNOW', 'double-quoted': '?', 'plain': 'Scroll of Remove Curse'} 470 }}} 471 472 438 473 === Aliases === 439 474 475 440 476 === Tags === 441 477 478 442 479 == YAML tags and Python types == 443 480 481 444 482 == Reference == 445 483 446 484 '''Warning: API stability is not guaranteed!''' 447 485 486 448 487 === YAMLError === 449 488 489 450 490 === Tokens === 451 491 492 452 493 === Events === 453 494 495 454 496 === Nodes === 455 497 498 456 499 === Loader === 457 500 501 458 502 ==== Scanner interface ==== 459 503 504 460 505 ==== Parser interface ==== 461 506 507 462 508 ==== Composer interface ==== 463 509 510 464 511 ==== Constructor interface ==== 465 512 513 466 514 ==== Resolver interface ==== 467 515 516 468 517 === Dumper === 469 518 519 470 520 ==== Emitter interface ==== 471 521 522 472 523 ==== Serializer interface ==== 473 524 525 474 526 ==== Representer interface ==== 475 527 528 476 529 ==== Resolver interface ==== 477 530 531 478 532 === YAMLObject === 479 533 534 480 535 === The yaml package === 481 536 537 482 538 == Deviations from the specification == 539 483 540 484 541 == Download and installing ==
