[docs] [issue25377] Mention octal format of mode argument of os.chmod
Georg Brandl
report at bugs.python.org
Sun Oct 11 18:34:26 CEST 2015
Georg Brandl added the comment:
A short sentence like
Be careful when using number literals for *mode*. The conventional UNIX notation for numeric modes uses an octal base, which needs to be indicated with a ``0o`` prefix in Python.
should be a good addition here. (I wonder why it isn't there, I seem to recall an earlier issue about this.)
----------
nosy: +georg.brandl
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25377>
_______________________________________
More information about the docs
mailing list