, Petri Lehtinen wrote:
Brandon W Maister wrote:
(defconst git-tools-grep-command
git ls-files -z | xargs -0 grep -In %s
The command used for grepping files using git. See
`git-tools-grep'.)
What's wrong with git grep?
Or hg grep, for that matter?
hg grep searches the history
Barry you want github raw:
https://raw.github.com/regebro/tz-pep/master/pep-04tz.txt
On Tue, Dec 11, 2012 at 3:31 PM, Barry Warsaw ba...@python.org wrote:
On Dec 11, 2012, at 04:23 PM, Lennart Regebro wrote:
This PEP is also available on github:
://github.com/quodlibetor/git-tools.el
;; Copyright (c) 2012 Brandon W Maister
;;
;; Permission is hereby granted, free of charge, to any person obtaining
;; a copy of this software and associated documentation files (the
;; Software), to deal in the Software without restriction, including
;; without
To (mis-)quote Antoine:
-- d1 = {1:2}
-- d2 = {'3':4}
-- dict(d1, **d2)
{1: 2, '3': 4}
Apparently it is valid syntax. Just make sure you keys for the **
operator are valid strings. :)
or not:
dict(**{'not a valid identifier': True, 1: True})
{1: True, 'not a valid identifier':