| Trees | Indices | Help |
|
|---|
[],
overwrite=False)path is equal to parent or is located below parent
at any level.
source code
content number of lines before and after the specified
lineno from the (source code) file identified by filename.
source code
(summary, description),
where summary is the first paragraph and description is the remaining
text.
source code
'1ドル$')
source code
re.compile(r'(\d+)')
0x1
0x8
ctypes.windll.kernel32.MoveFileExW
ctypes.windll.ktmw32.CreateTransaction
ctypes.windll.ktmw32.CommitTransaction
ctypes.windll.kernel32.MoveFileTransactedW
ctypes.windll.kernel32.CloseHandle
True
'trac.util'
Imports: errno, inspect, izip, tee, locale, os, find_distributions, random, re, shutil, sys, tempfile, time, quote, unquote, urlencode, any, md5, sha1, sorted, to_unicode, getpreferredencoding, pwd, ctypes, rename, urandom, TracError, reversed, escape, unescape, Markup, Deuglifier, CRLF, to_utf8, shorten_line, wrap, pretty_size, pretty_timedelta, format_datetime, format_date, format_time, get_date_format_hint, get_datetime_format_hint, http_date, parse_date, autoreload, compat, concurrency, daemon, datefmt, html, presentation, text, translation
[],
overwrite=False)
Recursively copy a directory tree using copy2() (from shutil.copytree.)
Added a skip parameter consisting of absolute paths
which we don't want to copy.
Return content number of lines before and after the specified
lineno from the (source code) file identified by filename.
Returns a (lines_before, line, lines_after) tuple.
Safe imports: rollback after a failed import.
Initially inspired from the RollbackImporter in PyUnit, but it's now much simpler and works better for our needs.
Get a dictionary containing package information for a package
dist can be either a Distribution instance or, as a shortcut, directly the module instance, if one can safely infer a Distribution instance from it.
Always returns a dictionary but it will be empty if no Distribution instance can be created for the given module.
>>> list(pairwise([0, 1, 2, 3])) [(0, 1), (1, 2), (2, 3)]
Deprecated: since 0.11 (if this really needs to be used, rewrite it without izip)
Convert the given value to a bool.
If value is a string, return True for any of "yes", "true", "enabled",
"on" or non-zero numbers, ignoring case. For non-string arguments, return
the argument converted to a bool, or False if the conversion fails.
| Trees | Indices | Help |
|
|---|