diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-01-11 04:18:20 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-01-11 04:18:20 -0800 |
commit | 93bff8841e53b7a47dedc0509d4986e79b4e71a3 (patch) | |
tree | c183b511fa20c766cbc9c83178f5cc223b78a2b0 | |
parent | 93db7e12b01cde9f29cc404a9ca8886143f3e988 (diff) | |
download | portage-93bff8841e53b7a47dedc0509d4986e79b4e71a3.tar.gz portage-93bff8841e53b7a47dedc0509d4986e79b4e71a3.tar.bz2 portage-93bff8841e53b7a47dedc0509d4986e79b4e71a3.zip |
DEVELOPING: remove section about string module
The module no longer exists since Python 2.7, so by now it should be
obvious that it's obsolete.
-rw-r--r-- | DEVELOPING | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/DEVELOPING b/DEVELOPING index 8286a8bcf..2c98ddba5 100644 --- a/DEVELOPING +++ b/DEVELOPING @@ -33,27 +33,6 @@ The mixing of tabs and spaces means other developers can't read what you did. This is why the python peps state spaces over tabs; because with spaces the line wrapping is always clear (but you cannot convert spaces as easily as tabwidth). -String -------- -Try not to use the functions in the string module, they are deprecated. - -string.join(<iterable>," ") - -should be replaced with: - -" ".join(<iterable>) - -and: - -string.split(string, delimeter) - -should be replaced with: - -"somestring".split(delimeter) - -Nearly all other methods in string work on string objects and have similar calling -conventions. - Comparisons ----------- |