From aad10fc3dc8a54d0b539218f7ac62844d1a1d335 Mon Sep 17 00:00:00 2001 From: Prodesire Date: Sun, 25 Mar 2018 23:22:05 +0800 Subject: [PATCH] add doc for py.system --- docs/system.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/system.rst b/docs/system.rst index 75aaf62..5e0c679 100644 --- a/docs/system.rst +++ b/docs/system.rst @@ -193,3 +193,8 @@ Utils for handling system, like to track file, make directory, link and so on. >>> .. note:: ``chcp`` can only be used on ``Windows`` system. + + +.. py:function:: pydu.system.preferredencoding(code) + + Get best encoding for the system.