Merge pull request #334776 from aos/aos/update-writepy3-example

fix: Update writePython3Bin docs
This commit is contained in:
lassulus 2024-08-15 07:42:45 +02:00 committed by GitHub
commit 4b3c31b884
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -767,7 +767,7 @@ rec {
# writePython3 "test_python3" { libraries = [ pkgs.python3Packages.pyyaml ]; } ''
# import yaml
#
# y = yaml.load("""
# y = yaml.safe_load("""
# - test: success
# """)
# print(y[0]['test'])
@ -784,7 +784,7 @@ rec {
# writePyPy3 "test_pypy3" { libraries = [ pkgs.pypy3Packages.pyyaml ]; } ''
# import yaml
#
# y = yaml.load("""
# y = yaml.safe_load("""
# - test: success
# """)
# print(y[0]['test'])