diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-14 22:44:29 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-14 22:44:29 (GMT) |
commit | 44fb9210fa89a8e7717848475efd4b62d6463eb2 (patch) | |
tree | 3b757216ddf5cb8d1fb642106139b763d9510208 | |
parent | d2bd5c35b04a70cc4778bdf3fb7b1c9cc48cb2cb (diff) | |
download | SCons-44fb9210fa89a8e7717848475efd4b62d6463eb2.zip SCons-44fb9210fa89a8e7717848475efd4b62d6463eb2.tar.gz SCons-44fb9210fa89a8e7717848475efd4b62d6463eb2.tar.bz2 |
move comment for method to docstring
-rw-r--r-- | src/engine/SCons/Node/FS.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index 907bc75..c3841eb 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -2659,10 +2659,12 @@ class File(Base): def get_contents(self): return SCons.Node._get_contents_map[self._func_get_contents](self) - # This attempts to figure out what the encoding of the text is - # based upon the BOM bytes, and then decodes the contents so that - # it's a valid python string. def get_text_contents(self): + """ + This attempts to figure out what the encoding of the text is + based upon the BOM bytes, and then decodes the contents so that + it's a valid python string. + """ contents = self.get_contents() # The behavior of various decode() methods and functions # w.r.t. the initial BOM bytes is different for different |