以下是来自django的源代码(Django-1.41/django/utils/encoding.py);
try:
s = unicode(str(s), encoding, errors)
except UnicodeEncodeError:
if not isinstance(s, Exception):
raise
# If we get to here, the caller has passed in an Exception
# subclass populated with non-ASCII data without special
# handling to display as a string. We need to handle this
# without raising a further exception. We do an
# approximation to what the Exception's standard str()
# output should be.
s = u' '.join([force_unicode(arg, encoding, strings_only,
errors) for arg in …Run Code Online (Sandbox Code Playgroud) 我写了一篇博客来描述 vim 的折叠。所以我需要这样的代码。
+-- 15 lines: set_up_socket_dir () {--------------------------------------------
Run Code Online (Sandbox Code Playgroud)
但是当我拉动这条线时,实际上拉动了折叠的代码。我怎样才能从 vim 得到这条线。