X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new%2Fplomrogue%2Fmisc.py;h=a3f7298348cb1cfc29219f1f54c2c6cdf3980b70;hb=358f157718342374be169e8ba4308720e15d8467;hp=40bd75dd11cdbe77fb09d07c7a65eddfc8c51fa9;hpb=e530d9faf68b4057322f5cc61aa0e3b76f8db3f6;p=plomrogue2-experiments diff --git a/new/plomrogue/misc.py b/new/plomrogue/misc.py index 40bd75d..a3f7298 100644 --- a/new/plomrogue/misc.py +++ b/new/plomrogue/misc.py @@ -8,8 +8,3 @@ def quote(string): quoted += [c] quoted += ['"'] return ''.join(quoted) - - -def stringify_yx(tuple_): - """Transform tuple (y,x) into string 'Y:'+str(y)+',X:'+str(x).""" - return 'Y:' + str(tuple_[0]) + ',X:' + str(tuple_[1])