summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-08-31 08:02:55 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-08-31 08:02:55 +0100
commit86bd0411965f86c026ae792b966024187e409b1c (patch)
treea851e1b18d071de70b644c3d307f5d390e770158 /doc/languages-frameworks
parent6e856d6bdbd0c8e556fa43342a99ef0ea17118e6 (diff)
downloadnixlib-86bd0411965f86c026ae792b966024187e409b1c.tar
nixlib-86bd0411965f86c026ae792b966024187e409b1c.tar.gz
nixlib-86bd0411965f86c026ae792b966024187e409b1c.tar.bz2
nixlib-86bd0411965f86c026ae792b966024187e409b1c.tar.lz
nixlib-86bd0411965f86c026ae792b966024187e409b1c.tar.xz
nixlib-86bd0411965f86c026ae792b966024187e409b1c.tar.zst
nixlib-86bd0411965f86c026ae792b966024187e409b1c.zip
docs/python: fix attribute naming example
https://github.com/NixOS/nixpkgs/pull/45822#issuecomment-417566642
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r--doc/languages-frameworks/python.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 53bccc747255..5eabb866654e 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -1075,4 +1075,4 @@ Following rules are desired to be respected:
 * By default we enable tests. Make sure the tests are found and, in the case of libraries, are passing for all interpreters. If certain tests fail they can be disabled individually. Try to avoid disabling the tests altogether. In any case, when you disable tests, leave a comment explaining why.
 * Commit names of Python libraries should reflect that they are Python libraries, so write for example `pythonPackages.numpy: 1.11 -> 1.12`.
 * Attribute names in `python-packages.nix` should be normalized according to [PEP 0503](https://www.python.org/dev/peps/pep-0503/#normalized-names).
-  This means that characters should be converted to lowercase and `.` and `_` should be replaced by a single `-` (Foo__Bar.baz instead of foo-bar-baz)
+  This means that characters should be converted to lowercase and `.` and `_` should be replaced by a single `-` (foo-bar-baz instead of Foo__Bar.baz )